test/import/test_flame_import.rb in tracksperanto-2.2.4 vs test/import/test_flame_import.rb in tracksperanto-2.3.0
- old
+ new
@@ -149,11 +149,10 @@
assert_in_delta 280.248, frame_149.abs_y, DELTA
end
def test_from_tracksperanto
fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/fromTracksperanto.stabilizer')
- parser = Tracksperanto::Import::FlameStabilizer.new(:io => fixture)
- trackers = parser.to_a
+ trackers = Tracksperanto::Import::FlameStabilizer.new(:io => fixture).to_a
assert_equal 3, trackers.length
assert_equal 3, trackers[0].length
end
end
\ No newline at end of file