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