test/test_keyframe.rb in tracksperanto-1.0.6 vs test/test_keyframe.rb in tracksperanto-1.1.0

- old
+ new

@@ -11,9 +11,14 @@ assert_equal 0, keyframe.frame assert_equal 10.3, keyframe.abs_x 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 + end + def test_frame_translated_to_int kf = Tracksperanto::Keyframe.new {|k| k.frame = '0' } assert_equal 0, kf.frame end \ No newline at end of file