@Test
void angle_from_depot_at_zero_should_be_atan2_of_latitude_longitude() {

    PlanningLocation center = locationAt(0, 0);
    assertThat(center.angleTo(locationAt(0, 1))).isZero();
    assertThat(center.angleTo(locationAt(0, -1))).isEqualTo(Math.PI);
    assertThat(center.angleTo(locationAt(1, 0))).isEqualTo(Math.PI / 2);
    assertThat(center.angleTo(locationAt(-1, 0))).isEqualTo(-Math.PI / 2);
    assertThat(center.angleTo(locationAt(-Double.MIN_VALUE, -1))).isEqualTo(-Math.PI);
    assertThat(center.angleTo(locationAt(-0, 1))).isZero();
}