@Test
public void testAtan2() {

    //Tested to within error specified
    Assert.assertEquals(HALF_PI, MathUtil.atan2(1, 0), 0.00488);
    Assert.assertEquals(0, MathUtil.atan2(0, 0), 0.00488);
    Assert.assertEquals(-HALF_PI, MathUtil.atan2(-1, 0), 0.00488);
    Assert.assertEquals(0.545, MathUtil.atan2(3, 5), 0.00488);
    Assert.assertEquals(-2.597, MathUtil.atan2(-3, -5), 0.00488);
    Assert.assertEquals(1.025, MathUtil.atan2(5, 3), 0.00488);
}