test/test_keyframe.rb in tracksperanto-1.8.2 vs test/test_keyframe.rb in tracksperanto-1.8.4
- old
+ new
@@ -13,10 +13,10 @@
assert_equal 12.5, keyframe.abs_y
end
def test_inspect
kf = Tracksperanto::Keyframe.new(:frame => 0, :abs_x => 10, :abs_y => 12.0)
- assert_equal "[0, 10.0, 12.0]", kf.inspect
+ assert_equal "#< 10.0x12.0 @0 ~0.00) >", kf.inspect
end
def test_frame_translated_to_int
kf = Tracksperanto::Keyframe.new {|k| k.frame = '0' }
assert_equal 0, kf.frame
\ No newline at end of file