src/test/java/eu/digitisation/math/ArraysTest.java
@Test
    public void testMin_doubleArr() {
        System.out.println("min");
        double[] array = {2, 0, -1};
        double expResult = -1.0;
        double result = Arrays.min(array);
        assertEquals(expResult, result, 0.0001);
    }
/**
     * 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_doubleArr() {
        System.out.println("min");
        double[] array = {2, 0, -1};
        double expResult = -1.0;
        double result = Arrays.min(array);
        assertEquals(expResult, result, 0.0001);
    }
@ Test public void testMin_doubleArr ( ) { System . out . println ( "min" ) ; double [ ] array = { 2 , 0 , - 1 } ; double expResult = - 1.0 ; double result = Arrays . min ( array ) ; assertEquals ( expResult , result , 0.0001 ) ; }
Test of min method, of class ArrayMath.
Test of min method of class ArrayMath .