@Test public void testSinSouth() { coordinate = new CoordinateImpl(0, 0, 0, compassDirectionS); assertTrue(coordinate.Sin() == 0); }
@Test public void testCosSouth() { coordinate = new CoordinateImpl(0, 0, 0, compassDirectionS); assertTrue(coordinate.Cos() == 1); }
@Test public void testDirection() { assertTrue(coordinateNull.direction() == CompassDirection.NORTH); }
@Test public void testRadians() { assertTrue(coordinateNull.Radians() == 0); }
@Test public void testDegreesW() { coordinate = new CoordinateImpl(0, 60, 0, compassDirectionW); assertTrue(coordinate.Degrees() == -1.0); }