@Test
public void testGetFourthDim() {

    int rows = 3;
    int cols = 4;
    int depth = 5;
    int fourth = 6;
    Tensor instance = new Tensor(rows, cols, depth, fourth);
    int expResult = fourth;
    int result = instance.getFourthDim();
    assertEquals(expResult, result);
}