OLD | NEW |
1 timing_test(function() { | 1 timing_test(function() { |
2 at(0 * 1000, function() { | 2 at(0 * 1000, function() { |
3 assert_styles(".anim",{'width':'50px'}); | 3 assert_styles(".anim",{'width':'50px'}); |
4 }); | 4 }); |
5 at(0.5 * 1000, function() { | 5 at(0.5 * 1000, function() { |
6 assert_styles(".anim", [ | 6 assert_styles(".anim", [ |
7 {'width':'81.25px'}, | 7 {'width':'81.25px'}, |
8 {'width':'81.25px'}, | 8 {'width':'81.25px'}, |
9 {'width':'137.5px'}, | 9 {'width':'137.5px'}, |
10 {'width':'81.25px'}, | 10 {'width':'81.25px'}, |
(...skipping 21 matching lines...) Expand all Loading... |
32 {'width':'256.25px'}, | 32 {'width':'256.25px'}, |
33 {'width':'270.3125px'}, | 33 {'width':'270.3125px'}, |
34 {'width':'270.3125px'}, | 34 {'width':'270.3125px'}, |
35 {'width':'270.3125px'}, | 35 {'width':'270.3125px'}, |
36 ]); | 36 ]); |
37 }); | 37 }); |
38 at(2 * 1000, function() { | 38 at(2 * 1000, function() { |
39 assert_styles(".anim",{'width':'400px'}); | 39 assert_styles(".anim",{'width':'400px'}); |
40 }); | 40 }); |
41 }, "Auto generated tests"); | 41 }, "Auto generated tests"); |
OLD | NEW |