Skip to content

Commit 5f7cdfc

Browse files
committed
Correct test assumptions
1 parent 3337b11 commit 5f7cdfc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/test/java/ij_plugins/imageio/IJImageOUtilsTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* IJ Plugins
3-
* Copyright (C) 2002-2024 Jarek Sacha
3+
* Copyright (C) 2002-2026 Jarek Sacha
44
* Author's email: jpsacha at gmail.com
55
*
66
* This library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
2626
import ij.process.ColorProcessor;
2727
import org.junit.Test;
2828

29-
import static org.junit.Assert.assertTrue;
29+
import static org.junit.Assert.assertFalse;
3030

3131
public class IJImageOUtilsTest {
3232

@@ -36,7 +36,8 @@ public void isRGB48() {
3636
var cp = new ColorProcessor(256, 256);
3737
var imp = new ImagePlus("", cp);
3838

39-
assertTrue(IJImageOUtils.isRGB48(imp));
39+
// This is a RGB24 image, not RGB48
40+
assertFalse(IJImageOUtils.isRGB48(imp));
4041
}
4142

4243
}

0 commit comments

Comments
 (0)