@Test
public void testCosDeg() {

    Assert.assertEquals(1, MathUtil.cosDeg(0), 0.01);
    Assert.assertEquals(0.5, MathUtil.cosDeg(60), 0.01);
    Assert.assertEquals(-1, MathUtil.cosDeg(180), 0.01);
    Assert.assertEquals(1, MathUtil.cosDeg(360), 0.01);
}