test/import/test_flame_import.rb in tracksperanto-3.3.10 vs test/import/test_flame_import.rb in tracksperanto-3.3.11
- old
+ new
@@ -107,6 +107,15 @@
trackers = Tracksperanto::Import::FlameStabilizer.new(:io => fixture).to_a
tracker_order = ["bottom_left", "bottom_right", "top_left", "top_right"]
assert_equal tracker_order, trackers.map(&:name)
end
+ # flame 2014 has a new stabilizer
+ def test_flame_2014_stabilizer_import
+ fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/stabilizer_2014_stp.stabilizer')
+ trackers = Tracksperanto::Import::FlameStabilizer.new(:io => fixture).to_a
+ assert_equal 2, trackers.length
+ assert_equal 56, trackers[0].length
+ assert_equal 56, trackers[1].length
+ end
+
end