We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3337b11 commit 5f7cdfcCopy full SHA for 5f7cdfc
1 file changed
src/test/java/ij_plugins/imageio/IJImageOUtilsTest.java
@@ -1,6 +1,6 @@
1
/*
2
* IJ Plugins
3
- * Copyright (C) 2002-2024 Jarek Sacha
+ * Copyright (C) 2002-2026 Jarek Sacha
4
* Author's email: jpsacha at gmail.com
5
*
6
* This library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
26
import ij.process.ColorProcessor;
27
import org.junit.Test;
28
29
-import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.assertFalse;
30
31
public class IJImageOUtilsTest {
32
@@ -36,7 +36,8 @@ public void isRGB48() {
36
var cp = new ColorProcessor(256, 256);
37
var imp = new ImagePlus("", cp);
38
39
- assertTrue(IJImageOUtils.isRGB48(imp));
+ // This is a RGB24 image, not RGB48
40
+ assertFalse(IJImageOUtils.isRGB48(imp));
41
}
42
43
0 commit comments