test/import/test_pftrack_import.rb in tracksperanto-1.6.5 vs test/import/test_pftrack_import.rb in tracksperanto-1.6.6
- old
+ new
@@ -8,11 +8,11 @@
assert_equal "PFTrack .2dt file", i.human_name
assert !i.autodetects_size?
end
def test_parsing_from_importable_pftrack_4
- fixture = File.open(File.dirname(__FILE__) + '/samples/sourcefile_pftrack.2dt')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/pftrack4/sourcefile_pftrack.2dt')
parser = Tracksperanto::Import::PFTrack.new
parser.width = 2560
parser.height = 1080
@@ -36,10 +36,10 @@
assert_equal "Tracker41", trackers[-1].name
assert_equal 467, trackers[-1].keyframes.length
end
def test_garage_shot_from_pftrack_5
- fixture = File.open(File.dirname(__FILE__) + '/samples/garage.2dt')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/pftrack5/garage.2dt')
parser = Tracksperanto::Import::PFTrack.new(:width => 1920, :height => 1080)
trackers = parser.parse(fixture)
assert_equal 250, trackers.length
assert_equal "Tracker121", trackers[0].name
assert_equal 189, trackers[0].length
\ No newline at end of file