src/test/java/eu/digitisation/math/ArraysTest.java
@Test
    public void testLogaverage_intArr() {
        System.out.println("logaverage");
        int[] array = {10, 100, 1000};
        double expResult = 100.0;
        double result = Arrays.logaverage(array);
        assertEquals(expResult, result, 0.001);
    }
/**
     * Test of logaverage method, of class ArrayMath.
     */
Test of logaverage method, of class ArrayMath.
Test of logaverage method of class ArrayMath .
@Test
    public void testLogaverage_intArr() {
        System.out.println("logaverage");
        int[] array = {10, 100, 1000};
        double expResult = 100.0;
        double result = Arrays.logaverage(array);
        assertEquals(expResult, result, 0.001);
    }
@ Test public void testLogaverage_intArr ( ) { System . out . println ( "logaverage" ) ; int [ ] array = { 10 , 100 , 1000 } ; double expResult = 100.0 ; double result = Arrays . logaverage ( array ) ; assertEquals ( expResult , result , 0.001 ) ; }
Test of logaverage method, of class ArrayMath.
Test of logaverage method of class ArrayMath .