test/import/test_flame_import.rb in tracksperanto-1.6.5 vs test/import/test_flame_import.rb in tracksperanto-1.6.6
- old
+ new
@@ -82,11 +82,11 @@
assert_in_delta -246.951, key_four[1], DELTA
assert_equal 115, key_four[0]
end
def test_parsing_from_flame
- fixture = File.open(File.dirname(__FILE__) + '/samples/hugeFlameSetup.stabilizer')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/hugeFlameSetup.stabilizer')
parser = Tracksperanto::Import::FlameStabilizer.new
trackers = parser.parse(fixture)
assert_equal 2048, parser.width
@@ -111,11 +111,11 @@
assert_equal "Flame .stabilizer file", i.human_name
assert i.autodetects_size?
end
def test_parsing_another_track
- fixture = File.open(File.dirname(__FILE__) + '/samples/megaTrack.action.3dtrack.stabilizer')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/megaTrack.action.3dtrack.stabilizer')
parser = Tracksperanto::Import::FlameStabilizer.new
trackers = parser.parse(fixture)
assert_equal 1920, parser.width
@@ -123,10 +123,10 @@
assert_equal 20, trackers.length
end
def test_simple_from_combustion
- fixture = File.open(File.dirname(__FILE__) + '/samples/fromCombustion_fromMidClip_wSnap.stabilizer')
+ fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/fromCombustion_fromMidClip_wSnap.stabilizer')
parser = Tracksperanto::Import::FlameStabilizer.new
trackers = parser.parse(fixture)
assert_equal 1280, parser.width
\ No newline at end of file