test/import/test_flame_import.rb in tracksperanto-1.9.0 vs test/import/test_flame_import.rb in tracksperanto-1.9.1
- old
+ new
@@ -146,6 +146,14 @@
frame_149 = t.keyframes[148]
assert_in_delta 390.267, frame_149.abs_x, DELTA
assert_in_delta 280.248, frame_149.abs_y, DELTA
end
+
+ def test_from_tracksperanto
+ fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/fromTracksperanto.stabilizer')
+ parser = Tracksperanto::Import::FlameStabilizer.new
+ trackers = parser.parse(fixture)
+ assert_equal 3, trackers.length
+ assert_equal 3, trackers[0].length
+ end
end
\ No newline at end of file