同一点,地心角 = 0°。
(self)
| 39 | """Haversine 公式的基本性质与已知数值验证。""" |
| 40 | |
| 41 | def test_same_point_is_zero(self): |
| 42 | """同一点,地心角 = 0°。""" |
| 43 | assert calc_central_angle(0, 0, 0, 0) == pytest.approx(0.0, abs=1e-9) |
| 44 | |
| 45 | def test_same_point_arbitrary_coords(self): |
| 46 | """任意坐标的同一点,结果仍为 0°。""" |
nothing calls this directly
no test coverage detected