OLD | NEW |
| (Empty) |
1 timing_test(function() { | |
2 at(0 * 1000, function() { | |
3 assert_styles("#target",{'height':'0px'}); | |
4 }); | |
5 at(0.25 * 1000, function() { | |
6 assert_styles("#target",{'height':'12.5px'}); | |
7 }); | |
8 at(0.5 * 1000, function() { | |
9 assert_styles("#target",{'height':'25px'}); | |
10 }); | |
11 at(0.75 * 1000, function() { | |
12 assert_styles("#target",{'height':'37.5px'}); | |
13 }); | |
14 at(1 * 1000, function() { | |
15 assert_styles("#target",{'height':'50px'}); | |
16 }); | |
17 at(1.25 * 1000, function() { | |
18 assert_styles("#target",{'height':'62.5px'}); | |
19 }); | |
20 at(1.5 * 1000, function() { | |
21 assert_styles("#target",{'height':'75px'}); | |
22 }); | |
23 at(1.75 * 1000, function() { | |
24 assert_styles("#target",{'height':'87.5px'}); | |
25 }); | |
26 at(2 * 1000, function() { | |
27 assert_styles("#target",{'height':'100px'}); | |
28 }); | |
29 at(2.25 * 1000, function() { | |
30 assert_styles("#target",{'height':'106.5px'}); | |
31 }); | |
32 at(2.5 * 1000, function() { | |
33 assert_styles("#target",{'height':'125px'}); | |
34 }); | |
35 at(2.75 * 1000, function() { | |
36 assert_styles("#target",{'height':'143.5px'}); | |
37 }); | |
38 at(3 * 1000, function() { | |
39 assert_styles("#target",{'height':'150px'}); | |
40 }); | |
41 at(3.25 * 1000, function() { | |
42 assert_styles("#target",{'height':'150px'}); | |
43 }); | |
44 at(3.5 * 1000, function() { | |
45 assert_styles("#target",{'height':'150px'}); | |
46 }); | |
47 at(3.75 * 1000, function() { | |
48 assert_styles("#target",{'height':'200px'}); | |
49 }); | |
50 at(4 * 1000, function() { | |
51 assert_styles("#target",{'height':'200px'}); | |
52 }); | |
53 at(4.25 * 1000, function() { | |
54 assert_styles("#target",{'height':'200px'}); | |
55 }); | |
56 at(4.5 * 1000, function() { | |
57 assert_styles("#target",{'height':'225px'}); | |
58 }); | |
59 at(4.75 * 1000, function() { | |
60 assert_styles("#target",{'height':'225px'}); | |
61 }); | |
62 at(5 * 1000, function() { | |
63 assert_styles("#target",{'height':'250px'}); | |
64 }); | |
65 }, "Auto generated tests"); | |
OLD | NEW |