test/import/test_syntheyes_import.rb in tracksperanto-2.12.0 vs test/import/test_syntheyes_import.rb in tracksperanto-3.0.0

- old
+ new

@@ -1,10 +1,10 @@ # -*- encoding : utf-8 -*- require File.expand_path(File.dirname(__FILE__)) + '/../helper' class SyntheyesImportTest < Test::Unit::TestCase - DELTA = 0.9 # our SynthEyes sample is somewhat inaccurate :-P + 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 !i.autodetects_size? @@ -19,11 +19,11 @@ first_kf = trackers[0].keyframes[0] assert_equal "Tracker1", trackers[0].name assert_equal 0, first_kf.frame - assert_in_delta 715.839, first_kf.abs_x, DELTA - assert_in_delta 886.212, first_kf.abs_y, DELTA + assert_in_delta 715.221, first_kf.abs_x, DELTA + assert_in_delta 885.679, first_kf.abs_y, DELTA assert_in_delta 0.0, first_kf.residual, DELTA end def test_parsing_cola_plate fixture = File.open(File.dirname(__FILE__) + '/samples/syntheyes_2d_paths/cola_plate.txt')