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