OLD | NEW |
1 timing_test(function() { | 1 timing_test(function() { |
2 at(0 * 1000, function() { | 2 at(0 * 1000, function() { |
3 assert_styles('.anim', {'x':'100px', 'height':'10px'}); | 3 assert_styles('.anim', {'x':'100px', 'height':'10px'}); |
4 }, "Autogenerated"); | 4 }, "Autogenerated"); |
5 at(0.2 * 1000, function() { | 5 at(0.2 * 1000, function() { |
6 assert_styles('.anim', {'x':'160px', 'height':'16px'}); | 6 assert_styles('.anim', {'x':'160px', 'height':'16px'}); |
7 }, "Autogenerated"); | 7 }, "Autogenerated"); |
8 at(0.4 * 1000, function() { | 8 at(0.4 * 1000, function() { |
9 assert_styles('.anim', {'x':'220px', 'height':'22px'}); | 9 assert_styles('.anim', {'x':'220px', 'height':'22px'}); |
10 }, "Autogenerated"); | 10 }, "Autogenerated"); |
11 at(0.6000000000000001 * 1000, function() { | 11 at(0.6000000000000001 * 1000, function() { |
12 assert_styles('.anim', {'x':'280px', 'height':'28px'}); | 12 assert_styles('.anim', {'x':'280px', 'height':'28px'}); |
13 }, "Autogenerated"); | 13 }, "Autogenerated"); |
14 at(0.8 * 1000, function() { | 14 at(0.8 * 1000, function() { |
15 assert_styles('.anim', {'x':'340px', 'height':'34px'}); | 15 assert_styles('.anim', {'x':'340px', 'height':'34px'}); |
16 }, "Autogenerated"); | 16 }, "Autogenerated"); |
17 at(1 * 1000, function() { | 17 at(1 * 1000, function() { |
18 assert_styles('.anim', {'x':'400px', 'height':'40px'}); | 18 assert_styles('.anim', {'x':'400px', 'height':'40px'}); |
19 }, "Autogenerated"); | 19 }, "Autogenerated"); |
20 at(1.2 * 1000, function() { | 20 at(1.2 * 1000, function() { |
21 assert_styles('.anim', {'x':'400px', 'height':'40px'}); | 21 assert_styles('.anim', {'x':'400px', 'height':'40px'}); |
22 }, "Autogenerated"); | 22 }, "Autogenerated"); |
23 }, "Autogenerated checks."); | 23 }, "Autogenerated checks."); |
OLD | NEW |