OLD | NEW |
(Empty) | |
| 1 timing_test(function() { |
| 2 at(0, function() { |
| 3 assert_styles(".anim",{'width':'50px'}); |
| 4 }); |
| 5 at(0.5, function() { |
| 6 assert_styles(".anim", [ |
| 7 {'width':'81.25px'}, |
| 8 {'width':'81.25px'}, |
| 9 {'width':'137.5px'}, |
| 10 {'width':'81.25px'}, |
| 11 {'width':'95.3125px'}, |
| 12 {'width':'95.3125px'}, |
| 13 {'width':'95.3125px'}, |
| 14 ]); |
| 15 }); |
| 16 at(1, function() { |
| 17 assert_styles(".anim", [ |
| 18 {'width':'150px'}, |
| 19 {'width':'150px'}, |
| 20 {'width':'225px'}, |
| 21 {'width':'150px'}, |
| 22 {'width':'168.75px'}, |
| 23 {'width':'168.75px'}, |
| 24 {'width':'168.75px'}, |
| 25 ]); |
| 26 }); |
| 27 at(1.5, function() { |
| 28 assert_styles(".anim", [ |
| 29 {'width':'256.25px'}, |
| 30 {'width':'256.25px'}, |
| 31 {'width':'312.5px'}, |
| 32 {'width':'256.25px'}, |
| 33 {'width':'270.3125px'}, |
| 34 {'width':'270.3125px'}, |
| 35 {'width':'270.3125px'}, |
| 36 ]); |
| 37 }); |
| 38 at(2, function() { |
| 39 assert_styles(".anim",{'width':'400px'}); |
| 40 }); |
| 41 }, "Auto generated tests"); |
OLD | NEW |