test/import/test_nuke_import.rb in tracksperanto-1.6.7 vs test/import/test_nuke_import.rb in tracksperanto-1.6.8

- old
+ new

@@ -49,9 +49,22 @@ assert_equal 60, t[25].frame assert_equal 61, t[26].frame assert_equal 109, t[-1].frame end + def test_parsing_node_with_succesive_gaps_larger_than_one_frame + fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/tracker_with_repeating_gaps.nk') + parser = Tracksperanto::Import::NukeScript.new + parser.width = 2048 + parser.height = 1556 + trackers = parser.parse(fixture) + assert_equal 1, trackers.length + t = trackers[0] + assert_equal 5, t[3].frame + assert_equal 8, t[4].frame + assert_equal 11, t[5].frame + end + def test_parsing_from_nuke_group fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/one_tracker_with_break_in_grp.nk') parser = Tracksperanto::Import::NukeScript.new parser.width = 2048 \ No newline at end of file