    @Test
    public void averageTest() {

        assertEquals(6, MathUtils.average(6.0), 0.0001);
        assertEquals(6, MathUtils.average(5.0, 7.0), 0.0001);
        assertEquals(-6.0, MathUtils.average(-6.0), 0.0001);
        assertEquals(-6, MathUtils.average(-5.0, -7.0), 0.0001);
        assertEquals(0, MathUtils.average(0.0), 0.0001);
        assertEquals(0, MathUtils.average(), 0.0001);
    }