test/import/test_nuke_import.rb in tracksperanto-1.6.5 vs test/import/test_nuke_import.rb in tracksperanto-1.6.6
- old
+ new
@@ -8,11 +8,11 @@
assert_equal "Nuke .nk script file", i.human_name
assert !i.autodetects_size?
end
def test_parsing_from_nuke
- fixture = File.open(File.dirname(__FILE__) + '/samples/one_tracker_with_break.nk')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/one_tracker_with_break.nk')
parser = Tracksperanto::Import::NukeScript.new
parser.width = 2048
parser.height = 1176
@@ -25,19 +25,19 @@
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')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/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')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/one_tracker_with_break_in_grp.nk')
parser = Tracksperanto::Import::NukeScript.new
parser.width = 2048
parser.height = 1176
\ No newline at end of file