OLD | NEW |
(Empty) | |
| 1 This tests checks that arc can draw correct circumferences with lineTo. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS imageData.data[1] is 255 |
| 7 Check clockwise circumference. |
| 8 1. sweepAngle == 2PI |
| 9 PASS imageData.data[1] is 0 |
| 10 PASS imageData.data[1] is 0 |
| 11 PASS imageData.data[1] is 0 |
| 12 PASS imageData.data[1] is 0 |
| 13 PASS imageData.data[1] is 0 |
| 14 PASS imageData.data[1] is 0 |
| 15 2. sweepAngle == PI |
| 16 PASS imageData.data[1] is 0 |
| 17 PASS imageData.data[1] is 0 |
| 18 PASS imageData.data[1] is 0 |
| 19 PASS imageData.data[1] is 0 |
| 20 PASS imageData.data[1] is 255 |
| 21 PASS imageData.data[1] is 255 |
| 22 3. sweepAngle > 2PI |
| 23 PASS imageData.data[1] is 0 |
| 24 PASS imageData.data[1] is 0 |
| 25 PASS imageData.data[1] is 0 |
| 26 PASS imageData.data[1] is 0 |
| 27 PASS imageData.data[1] is 0 |
| 28 PASS imageData.data[1] is 0 |
| 29 4. sweepAngle < 0 |
| 30 PASS imageData.data[1] is 0 |
| 31 PASS imageData.data[1] is 0 |
| 32 PASS imageData.data[1] is 255 |
| 33 PASS imageData.data[1] is 0 |
| 34 PASS imageData.data[1] is 0 |
| 35 PASS imageData.data[1] is 0 |
| 36 Check anticlockwise circumference. |
| 37 1. sweepAngle == 2PI |
| 38 PASS imageData.data[1] is 0 |
| 39 PASS imageData.data[1] is 0 |
| 40 PASS imageData.data[1] is 0 |
| 41 PASS imageData.data[1] is 0 |
| 42 PASS imageData.data[1] is 0 |
| 43 PASS imageData.data[1] is 0 |
| 44 2. sweepAngle == PI |
| 45 PASS imageData.data[1] is 0 |
| 46 PASS imageData.data[1] is 0 |
| 47 PASS imageData.data[1] is 255 |
| 48 PASS imageData.data[1] is 255 |
| 49 PASS imageData.data[1] is 0 |
| 50 PASS imageData.data[1] is 0 |
| 51 3. sweepAngle > 2PI |
| 52 PASS imageData.data[1] is 0 |
| 53 PASS imageData.data[1] is 0 |
| 54 PASS imageData.data[1] is 0 |
| 55 PASS imageData.data[1] is 0 |
| 56 PASS imageData.data[1] is 0 |
| 57 PASS imageData.data[1] is 0 |
| 58 4. sweepAngle < 0 |
| 59 PASS imageData.data[1] is 0 |
| 60 PASS imageData.data[1] is 0 |
| 61 PASS imageData.data[1] is 0 |
| 62 PASS imageData.data[1] is 0 |
| 63 PASS imageData.data[1] is 0 |
| 64 PASS imageData.data[1] is 255 |
| 65 PASS successfullyParsed is true |
| 66 |
| 67 TEST COMPLETE |
| 68 |
OLD | NEW |