OLD | NEW |
| (Empty) |
1 Series of tests to ensure correct results on applying different blend modes when
globalAlpha is set. | |
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 141.6 | |
8 PASS actualColor(0, 0)[1] is within 5 of 242.4 | |
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 242.4 | |
15 PASS actualColor(0, 0)[2] is within 5 of 122.62588235294116 | |
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 141.6 | |
20 PASS actualColor(0, 0)[1] is within 5 of 255 | |
21 PASS actualColor(0, 0)[2] is within 5 of 135.3741176470588 | |
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 141.6 | |
26 PASS actualColor(0, 0)[1] is within 5 of 255 | |
27 PASS actualColor(0, 0)[2] is within 5 of 129.14823529411763 | |
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 242.4 | |
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 141.6 | |
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 141.6 | |
44 PASS actualColor(0, 0)[1] is within 5 of 255 | |
45 PASS actualColor(0, 0)[2] is within 5 of 141.6 | |
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 116.69302325581394 | |
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 141.6 | |
56 PASS actualColor(0, 0)[1] is within 5 of 255 | |
57 PASS actualColor(0, 0)[2] is within 5 of 129.14823529411763 | |
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 134.2369788002302 | |
62 PASS actualColor(0, 0)[1] is within 5 of 255 | |
63 PASS actualColor(0, 0)[2] is within 5 of 129.06161151529682 | |
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 128.7 | |
68 PASS actualColor(0, 0)[1] is within 5 of 242.10000000000002 | |
69 PASS actualColor(0, 0)[2] is within 5 of 116.1 | |
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 128.7 | |
74 PASS actualColor(0, 0)[1] is within 5 of 242.10000000000002 | |
75 PASS actualColor(0, 0)[2] is within 5 of 128.84823529411764 | |
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 142 | |
80 PASS actualColor(0, 0)[1] is within 5 of 248 | |
81 PASS actualColor(0, 0)[2] is within 5 of 134 | |
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 142 | |
92 PASS actualColor(0, 0)[1] is within 5 of 248 | |
93 PASS actualColor(0, 0)[2] is within 5 of 134 | |
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 125 | |
98 PASS actualColor(0, 0)[1] is within 5 of 251 | |
99 PASS actualColor(0, 0)[2] is within 5 of 125 | |
100 PASS actualColor(0, 0)[3] is within 5 of 255 | |
101 | |
102 PASS successfullyParsed is true | |
103 | |
104 TEST COMPLETE | |
105 | |
OLD | NEW |