test/import/test_syntheyes_import.rb in tracksperanto-3.5.5 vs test/import/test_syntheyes_import.rb in tracksperanto-3.5.6
- old
+ new
@@ -4,11 +4,13 @@
class SyntheyesImportTest < Test::Unit::TestCase
DELTA = 0.01 # our SynthEyes sample is somewhat inaccurate :-P
def test_introspects_properly
i = Tracksperanto::Import::Syntheyes
- assert_equal "Syntheyes 2D tracker paths file", i.human_name
+ assert_equal 'Syntheyes "Tracker 2-D paths" file', i.human_name
assert !i.autodetects_size?
+ assert_not_nil i.known_snags
+ assert !i.known_snags.empty?
end
def test_parsing_from_importable
fixture = File.open(File.dirname(__FILE__) + '/samples/syntheyes_2d_paths/shake_tracker_nodes_to_syntheyes.txt')
trackers = Tracksperanto::Import::Syntheyes.new(:io => fixture, :width => 2560, :height => 1080).to_a