public function testIfCalculateDestinationEasternWorksAsExpected()
{
$bearingCalculator = new BearingSpherical();
$point = new Coordinate(0, 0);
$destination = $bearingCalculator->calculateDestination($point, 90, 111195.0837);
// 1 degree in longitude at the equator:
// 2πr/360 = 40030230.1407 meters/360 = 111195.0837 meters
// so we expect a latitude of 0 degrees and a longitude
// of 1 degree:
$this->assertEquals(0.0, $destination->getLat(), '', 0.0001);
$this->assertEquals(1.0, $destination->getLng(), '', 0.0001);
}