@Test
public void testRound() {

    Assert.assertEquals(0, MathUtil.round(0.0f));
    Assert.assertEquals(0, MathUtil.round(0.4f));
    Assert.assertEquals(1, MathUtil.round(0.5f));
    Assert.assertEquals(1, MathUtil.round(0.6f));
    Assert.assertEquals(3, MathUtil.round(3f));
    Assert.assertEquals(0, MathUtil.round(-0.4f));
    Assert.assertEquals(0, MathUtil.round(-0.5f));
    Assert.assertEquals(-1, MathUtil.round(-0.6f));
    Assert.assertEquals(-8, MathUtil.round(-8f));
}