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