test/import/test_syntheyes_import.rb in tracksperanto-1.2.0 vs test/import/test_syntheyes_import.rb in tracksperanto-1.2.1
- old
+ new
@@ -25,6 +25,21 @@
assert_equal 0, first_kf.frame
assert_in_delta 715.839, first_kf.abs_x, DELTA
assert_in_delta 886.212, first_kf.abs_y, DELTA
assert_in_delta 30.0, first_kf.residual, DELTA
end
+
+ def test_syntheyes_import_from_victorw
+ fixture = File.open(File.dirname(__FILE__) + "/samples/testalltrackers_VictorW.txt")
+ parser = Tracksperanto::Import::Syntheyes.new
+ parser.width = 1920
+ parser.height = 1080
+
+ trackers = parser.parse(fixture)
+ for tracker in trackers
+ puts tracker.inspect
+ STDOUT.flush
+ end
+
+ end
+
end
\ No newline at end of file