| OLD | NEW |
| (Empty) |
| 1 Series of tests to ensure correct results on applying different blend modes when
drawing an image on top of a pattern. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Testing blend mode source-over | |
| 7 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 8 PASS actualColor(0, 0)[1] is within 5 of 129 | |
| 9 PASS actualColor(0, 0)[2] is within 5 of 129 | |
| 10 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 11 | |
| 12 Testing blend mode multiply | |
| 13 PASS actualColor(0, 0)[0] is within 5 of 129 | |
| 14 PASS actualColor(0, 0)[1] is within 5 of 129 | |
| 15 PASS actualColor(0, 0)[2] is within 5 of 65.25882352941176 | |
| 16 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 17 | |
| 18 Testing blend mode screen | |
| 19 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 20 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 21 PASS actualColor(0, 0)[2] is within 5 of 192.74117647058821 | |
| 22 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 23 | |
| 24 Testing blend mode overlay | |
| 25 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 26 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 27 PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646 | |
| 28 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 29 | |
| 30 Testing blend mode darken | |
| 31 PASS actualColor(0, 0)[0] is within 5 of 129 | |
| 32 PASS actualColor(0, 0)[1] is within 5 of 129 | |
| 33 PASS actualColor(0, 0)[2] is within 5 of 129 | |
| 34 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 35 | |
| 36 Testing blend mode lighten | |
| 37 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 38 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 39 PASS actualColor(0, 0)[2] is within 5 of 129 | |
| 40 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 41 | |
| 42 Testing blend mode color-dodge | |
| 43 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 44 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 45 PASS actualColor(0, 0)[2] is within 5 of 255 | |
| 46 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 47 | |
| 48 Testing blend mode color-burn | |
| 49 PASS actualColor(0, 0)[0] is within 5 of 129 | |
| 50 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 51 PASS actualColor(0, 0)[2] is within 5 of 5.930232558139517 | |
| 52 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 53 | |
| 54 Testing blend mode hard-light | |
| 55 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 56 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 57 PASS actualColor(0, 0)[2] is within 5 of 130.48235294117646 | |
| 58 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 59 | |
| 60 Testing blend mode soft-light | |
| 61 PASS actualColor(0, 0)[0] is within 5 of 181.3697880023021 | |
| 62 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 63 PASS actualColor(0, 0)[2] is within 5 of 129.61611515296823 | |
| 64 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 65 | |
| 66 Testing blend mode difference | |
| 67 PASS actualColor(0, 0)[0] is within 5 of 126 | |
| 68 PASS actualColor(0, 0)[1] is within 5 of 126 | |
| 69 PASS actualColor(0, 0)[2] is within 5 of 0 | |
| 70 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 71 | |
| 72 Testing blend mode exclusion | |
| 73 PASS actualColor(0, 0)[0] is within 5 of 126 | |
| 74 PASS actualColor(0, 0)[1] is within 5 of 126 | |
| 75 PASS actualColor(0, 0)[2] is within 5 of 127.48235294117649 | |
| 76 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 77 | |
| 78 Testing blend mode hue | |
| 79 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 80 PASS actualColor(0, 0)[1] is within 5 of 181 | |
| 81 PASS actualColor(0, 0)[2] is within 5 of 181 | |
| 82 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 83 | |
| 84 Testing blend mode saturation | |
| 85 PASS actualColor(0, 0)[0] is within 5 of 129 | |
| 86 PASS actualColor(0, 0)[1] is within 5 of 255 | |
| 87 PASS actualColor(0, 0)[2] is within 5 of 129 | |
| 88 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 89 | |
| 90 Testing blend mode color | |
| 91 PASS actualColor(0, 0)[0] is within 5 of 255 | |
| 92 PASS actualColor(0, 0)[1] is within 5 of 181 | |
| 93 PASS actualColor(0, 0)[2] is within 5 of 181 | |
| 94 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 95 | |
| 96 Testing blend mode luminosity | |
| 97 PASS actualColor(0, 0)[0] is within 5 of 92 | |
| 98 PASS actualColor(0, 0)[1] is within 5 of 218 | |
| 99 PASS actualColor(0, 0)[2] is within 5 of 92 | |
| 100 PASS actualColor(0, 0)[3] is within 5 of 255 | |
| 101 | |
| 102 PASS successfullyParsed is true | |
| 103 | |
| 104 TEST COMPLETE | |
| 105 | |
| OLD | NEW |