OLD | NEW |
| (Empty) |
1 timing_test(function() { | |
2 at(0 * 1000, function() { | |
3 assert_styles("#target",{'left':'0px','backgroundColor':'rgb(176, 196, 222)'
}); | |
4 }); | |
5 at(0.5 * 1000, function() { | |
6 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222)
'}); | |
7 }); | |
8 at(1.5 * 1000, function() { | |
9 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(176, 196, 222
)'}); | |
10 }); | |
11 at(2 * 1000, function() { | |
12 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222)
'}); | |
13 }); | |
14 at(3 * 1000, function() { | |
15 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(0, 128, 0)'})
; | |
16 }); | |
17 }, "Auto generated tests"); | |
OLD | NEW |