.. java:import:: ch.epfl.leb.sass.utils.images ImageS .. java:import:: ch.epfl.leb.sass.utils.images ImageShapeException .. java:import:: java.io File .. java:import:: java.io IOException .. java:import:: java.nio ByteBuffer .. java:import:: org.junit Test .. java:import:: org.junit Before .. java:import:: org.junit Rule .. java:import:: org.junit.rules TemporaryFolder DefaultImageSTest ================= .. java:package:: ch.epfl.leb.sass.utils.images.internal :noindex: .. java:type:: public class DefaultImageSTest Test suite for DefaultImageS. :author: Kyle M. Douglass Fields ------ instance ^^^^^^^^ .. java:field:: DefaultImageS instance :outertype: DefaultImageSTest tempDir ^^^^^^^ .. java:field:: @Rule public TemporaryFolder tempDir :outertype: DefaultImageSTest Methods ------- setUp ^^^^^ .. java:method:: @Before public void setUp() :outertype: DefaultImageSTest testAddImage_floatArrArr ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_floatArrArr() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testAddImage_floatArrArr_wrongSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_floatArrArr_wrongSize() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testAddImage_intArrArr ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_intArrArr() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testAddImage_intArrArr_wrongSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_intArrArr_wrongSize() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testAddImage_shortArrArr ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_shortArrArr() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testAddImage_shortArrArr_wrongSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testAddImage_shortArrArr_wrongSize() throws ImageShapeException :outertype: DefaultImageSTest Test of addImage method, of class DefaultImageS. testConcatenate ^^^^^^^^^^^^^^^ .. java:method:: @Test public void testConcatenate() throws ImageShapeException :outertype: DefaultImageSTest Test of concatenate method, of class DefaultImageS. testConcatenate_wrongSize ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testConcatenate_wrongSize() throws ImageShapeException :outertype: DefaultImageSTest Test of concatenate method, of class DefaultImageS. testGetBitDepth ^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetBitDepth() throws ImageShapeException :outertype: DefaultImageSTest Test of getBitDepth method, of class DefaultImageS. testGetHeight ^^^^^^^^^^^^^ .. java:method:: @Test public void testGetHeight() :outertype: DefaultImageSTest Test of getHeight method, of class DefaultImageS. testGetPixelData ^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetPixelData() throws ImageShapeException :outertype: DefaultImageSTest Test of getPixelData method, of class DefaultImageS. testGetSize ^^^^^^^^^^^ .. java:method:: @Test public void testGetSize() throws ImageShapeException :outertype: DefaultImageSTest Test of getSize method, of class DefaultImageS. testGetSlice ^^^^^^^^^^^^ .. java:method:: @Test public void testGetSlice() throws ImageShapeException :outertype: DefaultImageSTest Test of getSlice method, of class DefaultImageS. testGetTitle ^^^^^^^^^^^^ .. java:method:: @Test public void testGetTitle() :outertype: DefaultImageSTest Test of getTitle method, of class DefaultImageS. testGetWidth ^^^^^^^^^^^^ .. java:method:: @Test public void testGetWidth() :outertype: DefaultImageSTest Test of getWidth method, of class DefaultImageS. testSaveAsTiffStack ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSaveAsTiffStack() throws IOException, ImageShapeException :outertype: DefaultImageSTest Test of saveAsTiffStack method, of class DefaultImageS. testSaveAsTiffStackEmpty ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSaveAsTiffStackEmpty() throws IOException :outertype: DefaultImageSTest Test of saveAsTiffStack method, of class DefaultImageS. testSerializeToArray ^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSerializeToArray() throws ImageShapeException :outertype: DefaultImageSTest Test of serializeToArray method, of class DefaultImageS. testSerializeToBuffer ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSerializeToBuffer() throws ImageShapeException :outertype: DefaultImageSTest Test of serializeToBuffer method, of class DefaultImageS. testSetSlice ^^^^^^^^^^^^ .. java:method:: @Test public void testSetSlice() throws ImageShapeException :outertype: DefaultImageSTest Test of setSlice method, of class DefaultImageS. testSetTitle ^^^^^^^^^^^^ .. java:method:: @Test public void testSetTitle() :outertype: DefaultImageSTest Test of setTitle method, of class DefaultImageS.