RoiManagerUtil { public static boolean isActiveOnAllSlices(final int sliceNumber) { return sliceNumber <= 0; } private  RoiManagerUtil(); static boolean isActiveOnAllSlices(final int sliceNumber); static List<Vector3d> pointROICoordinates(final RoiManager manager);  }
@Test public void testIsActiveOnAllSlices() { assertTrue(RoiManagerUtil.isActiveOnAllSlices(-1)); assertTrue(RoiManagerUtil.isActiveOnAllSlices(0)); assertFalse(RoiManagerUtil.isActiveOnAllSlices(1)); }