test/helper.rb in tracksperanto-2.9.2 vs test/helper.rb in tracksperanto-2.9.3

- old
+ new

@@ -27,10 +27,14 @@ # align. To push the parabolics through your exporter under test, run # # export_parabolics_with(my_exporter) # # The tracker residual will degrade linarly and wll be "good" at the first image, "medium" at the extreme -# and "bad" at end +# and "bad" at end. +# +# The test tracks are precomputed to prevent failing tests due to float rounding biases on different platforms. +# You can see the computation involved in generating these tracks in +# https://github.com/guerilla-di/tracksperanto/commit/371214b47b2ead857c4af17eee1f8d19c62d1dd6#diff-5 module ParabolicTracks FIRST_TRACK = Tracksperanto::Tracker.new(:name => "Parabolic_1_from_top_left") do |t| t.keyframe!(:frame => 0, :abs_x => 0.00000, :abs_y => 1080.00000, :residual => 0.00000) t.keyframe!(:frame => 1, :abs_x => 96.00000, :abs_y => 874.80000, :residual => 0.04762)