Skip to content

Commit a6957aa

Browse files
Add OVERLAY, HARD_LIGHT, SOFT_LIGHT blend modes to PImageTest
1 parent 4206874 commit a6957aa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

core/test/processing/core/PImageTest.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,12 @@ public void testAllBlendModesExactMatchStaticHelper() {
231231
img1.updatePixels();
232232
img2.updatePixels();
233233

234-
int[] modes = {
235-
PConstants.BLEND, PConstants.ADD, PConstants.SUBTRACT, PConstants.LIGHTEST,
236-
PConstants.DARKEST, PConstants.DIFFERENCE, PConstants.EXCLUSION,
237-
PConstants.MULTIPLY, PConstants.SCREEN, PConstants.REPLACE
238-
};
234+
int[] modes = {
235+
PConstants.BLEND, PConstants.ADD, PConstants.SUBTRACT, PConstants.LIGHTEST,
236+
PConstants.DARKEST, PConstants.DIFFERENCE, PConstants.EXCLUSION,
237+
PConstants.MULTIPLY, PConstants.SCREEN, PConstants.REPLACE,
238+
PConstants.OVERLAY, PConstants.HARD_LIGHT, PConstants.SOFT_LIGHT
239+
};
239240

240241
for (int mode : modes) {
241242
PImage out = img1.copy();

0 commit comments

Comments
 (0)