固定轨道根数的 LEO 卫星 OrbitalElements 实例(模块作用域)。
()
| 50 | |
| 51 | @pytest.fixture(scope="module") |
| 52 | def leo_element(): |
| 53 | """固定轨道根数的 LEO 卫星 OrbitalElements 实例(模块作用域)。""" |
| 54 | return OrbitalElements( |
| 55 | name="BENCH-LEO", |
| 56 | sat_id="bench-leo-1", |
| 57 | semi_major_axis=6921.0, # 550 km 轨道 |
| 58 | eccentricity=0.001, |
| 59 | inclination=53.0, |
| 60 | raan=20.0, |
| 61 | arg_perigee=45.0, |
| 62 | mean_anomaly=0.0, |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | @pytest.fixture(scope="module") |
nothing calls this directly
no test coverage detected