OLD | NEW |
1 description("Tests end conditions are respected properly near the limits of floa
t numeric precision"); | 1 description("Tests end conditions are respected properly near the limits of floa
t numeric precision"); |
2 createSVGTestCase(); | 2 createSVGTestCase(); |
3 | 3 |
4 // Setup test document | 4 // Setup test document |
5 var rect = createSVGElement("rect"); | 5 var rect = createSVGElement("rect"); |
6 rect.setAttribute("id", "rect"); | 6 rect.setAttribute("id", "rect"); |
7 rect.setAttribute("x", "100"); | 7 rect.setAttribute("x", "100"); |
8 rect.setAttribute("width", "100"); | 8 rect.setAttribute("width", "100"); |
9 rect.setAttribute("height", "100"); | 9 rect.setAttribute("height", "100"); |
10 rect.setAttribute("fill", "green"); | 10 rect.setAttribute("fill", "green"); |
(...skipping 22 matching lines...) Expand all Loading... |
33 function executeTest() { | 33 function executeTest() { |
34 const expectedValues = [ | 34 const expectedValues = [ |
35 // [animationId, time, sampleCallback] | 35 // [animationId, time, sampleCallback] |
36 ["animation", 0.0, sample1], | 36 ["animation", 0.0, sample1], |
37 ["animation", 1.0, sample2] | 37 ["animation", 1.0, sample2] |
38 ]; | 38 ]; |
39 | 39 |
40 runAnimationTest(expectedValues); | 40 runAnimationTest(expectedValues); |
41 } | 41 } |
42 | 42 |
| 43 var animationStartsImmediately = true; |
43 var successfullyParsed = true; | 44 var successfullyParsed = true; |
44 executeTest(); | |
OLD | NEW |