OLD | NEW |
| (Empty) |
1 timing_test(function() { | |
2 at(0 * 1000, function() { | |
3 assert_styles( | |
4 '.anim', | |
5 [{'x':'100px','y':'300px','width':'100px'}]); | |
6 }, "Autogenerated"); | |
7 at(0.3 * 1000, function() { | |
8 assert_styles( | |
9 '.anim', | |
10 [{'x':'190px','y':'270px','width':'52px'}]); | |
11 }, "Autogenerated"); | |
12 at(0.6 * 1000, function() { | |
13 assert_styles( | |
14 '.anim', | |
15 [{'x':'280px','y':'240px','width':'26px'}]); | |
16 }, "Autogenerated"); | |
17 at(0.8999999999999999 * 1000, function() { | |
18 assert_styles( | |
19 '.anim', | |
20 [{'x':'369.99999999999994px','y':'210px','width':'44px'}]); | |
21 }, "Autogenerated"); | |
22 at(1.2 * 1000, function() { | |
23 assert_styles( | |
24 '.anim', | |
25 [{'x':'400px','y':'200px','width':'50px'}]); | |
26 }, "Autogenerated"); | |
27 }, "Autogenerated checks."); | |
OLD | NEW |