OLD | NEW |
(Empty) | |
| 1 timing_test(function() { |
| 2 at(0, function() { |
| 3 assert_styles(".anim",{'x':'0px'}); |
| 4 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 0, 0}'}); |
| 5 }); |
| 6 at(1, function() { |
| 7 assert_styles(".anim",{'x':'133.3px'}); |
| 8 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 66.67, 66.67}'}); |
| 9 }); |
| 10 at(2, function() { |
| 11 assert_styles(".anim",{'x':'316.7px'}); |
| 12 assert_styles(".anim2",{'ctm':'{0.9239, 0.3827, -0.3827, 0.9239, 156.4, 142.
9}'}); |
| 13 }); |
| 14 at(3, function() { |
| 15 assert_styles(".anim",{'x':'500px'}); |
| 16 assert_styles(".anim2",{'ctm':'{0.7071, 0.7071, -0.7071, 0.7071, 235.4, 235.
4}'}); |
| 17 }); |
| 18 at(4, function() { |
| 19 assert_styles(".anim",{'x':'550px'}); |
| 20 assert_styles(".anim2",{'ctm':'{0.3827, 0.9239, -0.9239, 0.3827, 228.7, 269.
3}'}); |
| 21 }); |
| 22 at(5, function() { |
| 23 assert_styles(".anim",{'x':'600px'}); |
| 24 assert_styles(".anim2",{'ctm':'{0, 1, -1, 0, 200, 300}'}); |
| 25 }); |
| 26 }, "Auto generated tests"); |
OLD | NEW |