Browse Source

update testing plan

main
cinnaboot 5 months ago
parent
commit
26d7c94767
  1. 39
      docs/planning/newton_raphson_test_plan.md

39
docs/planning/newton_raphson_test_plan.md

@ -55,7 +55,7 @@ Total estimated test files: 11 (reduced from 14 after overlap analysis)
### Remaining Tests (5 files)
#### 1. ⬜ test_hybrid_impulse_burns.cpp + .toml
#### 9. ⬜ test_hybrid_impulse_burns.cpp + .toml
- Purpose: Impulsive burn handling
- Config: Spacecraft with pre-configured maneuvers
- Tests:
@ -105,39 +105,6 @@ Total estimated test files: 11 (reduced from 14 after overlap analysis)
- Low altitude: atmospheric boundary (if applicable)
- Long-duration propagation (10+ periods)
## Phase 1: Core Math Functions
### Cartesian to Orbital Elements (3 files)
#### 1. ✅ test_cartesian_to_elements_basic.cpp + .toml: Basic round-trip conversion accuracy
#### 7. ✅ test_cartesian_to_elements_extreme.cpp + .toml: Parabolic test fixed and tolerances tightened
#### 8. ✅ test_cartesian_to_elements_quadrature.cpp + .toml: Argument of periapsis fix with atan2()
### Newton-Raphson Solver (1 file)
#### 2. ✅ test_newton_raphson_convergence.cpp (NO CONFIG): Convergence behavior across eccentricity ranges
### Analytical Propagation (2 files)
#### 3. ✅ test_analytical_propagation_apsides.cpp + .toml: Propagation through orbital apsides
#### 4. ✅ test_analytical_propagation_timesteps.cpp + .toml: Timestep size validation
## Phase 2: Hybrid Integration
#### 1. ⬜ test_hybrid_impulse_burns.cpp + .toml: Impulsive burn handling
#### 2. ⬜ test_hybrid_continuous_thrust.cpp + .toml: Continuous thrust integration
#### 3. ⬜ test_hybrid_energy_conservation.cpp + .toml: Analytical vs. numerical propagation comparison
## Extreme Orbits (3 files)
#### 5. ✅ test_extreme_eccentricity.cpp + .toml: Near-parabolic boundary behavior
#### 4. ⬜ test_extreme_orientation_mixed.cpp + .toml: Combined high inclination + high eccentricity
#### 5. ⬜ test_extreme_timescales.cpp + .toml: Orbital period extremes
## Numerical Precision (1 file)
#### 6. ✅ test_precision_boundaries.cpp + .toml: Exact boundary value handling
## Implementation Priority
### Phase 1 (Foundation)
@ -160,9 +127,7 @@ Total estimated test files: 11 (reduced from 14 after overlap analysis)
13. ✅ test_analytical_propagation_timesteps.cpp (large/small dt)
## Notes
- Config files are shared with existing tests where possible
- Each .cpp file requires corresponding .toml config
- Some test categories can share configs if parameters align
- Each .cpp file requires corresponding .toml config when creating a 2 body system
- SOI transition tests deferred per user requirements
- Test count: 10/14 files fully passing (8/14 previously plus 2 new cartesian_to_elements tests)
- Additional test added: test_barkers_equation.cpp (parabolic propagation, 11 tests)

Loading…
Cancel
Save