test/import/test_nuke_import.rb in tracksperanto-1.5.2 vs test/import/test_nuke_import.rb in tracksperanto-1.5.3
- old
+ new
@@ -24,9 +24,18 @@
assert_equal 762, sec_tracker.keyframes[-1].frame
assert_in_delta 1147.972, sec_tracker.keyframes[-1].abs_x, DELTA
assert_in_delta 510.107, sec_tracker.keyframes[-1].abs_y, DELTA
end
+ def test_parsing_many_tracks_per_node
+ fixture = File.open(File.dirname(__FILE__) + '/samples/018.nk')
+ parser = Tracksperanto::Import::NukeScript.new
+ parser.width = 1920
+ parser.height = 1080
+ trackers = parser.parse(fixture)
+ assert_equal 21, trackers.length
+ end
+
def test_parsing_from_nuke_group
fixture = File.open(File.dirname(__FILE__) + '/samples/one_tracker_with_break_in_grp.nk')
parser = Tracksperanto::Import::NukeScript.new
parser.width = 2048
\ No newline at end of file