test/import/test_pftrack_import.rb in tracksperanto-1.7.3 vs test/import/test_pftrack_import.rb in tracksperanto-1.7.4
- old
+ new
@@ -8,12 +8,13 @@
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/pftrack4/sourcefile_pftrack.2dt')
-
+
parser = Tracksperanto::Import::PFTrack.new
parser.width = 2560
parser.height = 1080
trackers = parser.parse(fixture)
@@ -43,6 +44,7 @@
trackers = parser.parse(fixture)
assert_equal 250, trackers.length
assert_equal "Tracker121", trackers[0].name
assert_equal 189, trackers[0].length
end
+
end
\ No newline at end of file