src/test/java/eu/digitisation/math/ArraysTest.java
@Test
    public void testMax_intArr() {
        System.out.println("max");
        int[] array = {-5, 2, 3};
        int expResult = 3;
        int result = Arrays.max(array);
        assertEquals(expResult, result);
    }
/**
     * Test of max method, of class ArrayMath.
     */
Test of max method, of class ArrayMath.
Test of max method of class ArrayMath .
@Test
    public void testMax_intArr() {
        System.out.println("max");
        int[] array = {-5, 2, 3};
        int expResult = 3;
        int result = Arrays.max(array);
        assertEquals(expResult, result);
    }
@ Test public void testMax_intArr ( ) { System . out . println ( "max" ) ; int [ ] array = { - 5 , 2 , 3 } ; int expResult = 3 ; int result = Arrays . max ( array ) ; assertEquals ( expResult , result ) ; }
Test of max method, of class ArrayMath.
Test of max method of class ArrayMath .