test_lambertSolverValidation

Validate Lambert numeric inputs and alignment configuration before solving.

test_lambertSolverValidation.invalid_input_and_recovery(method, revolutions, field, value)[source]

Reject a malformed update, then solve a corrected request without a reset.

test_lambertSolverValidation.test_invalid_alignment_threshold(method, value)[source]

Reject invalid thresholds without changing the previous valid configuration.

test_lambertSolverValidation.test_invalid_scalar_input(method, revolutions, field, value)[source]

Require finite, positive gravity and flight time on every update.

test_lambertSolverValidation.test_invalid_solver_method(method, revolutions, value)[source]

Reject unknown method integers, then recover with either supported algorithm.

test_lambertSolverValidation.test_negative_revolution_count(method, value)[source]

Retain the existing rejection of negative revolution counts.

test_lambertSolverValidation.test_non_axis_aligned_collinearity(method, direction, revolutions, threshold, radial, radius_ratio)[source]

Reject parallel and antiparallel endpoints despite normalization roundoff.

A rejected update must clear both previously populated solution slots, then allow a corrected request to recover on the same module without a reset.

test_lambertSolverValidation.test_nonfinite_position_input(method, revolutions, field, component, value)[source]

Reject a nonfinite component in either endpoint before geometry calculations.

test_lambertSolverValidation.test_resolvable_near_collinear_plane(method, direction, radial, radius_ratio)[source]

Preserve small cross products that are resolvable above cancellation roundoff.

test_lambertSolverValidation.test_unusable_position_norm(method, revolutions, field, magnitude)[source]

Reject zero, underflowed, or overflowed norms before dividing by them.

test_lambertSolverValidation.test_valid_alignment_threshold_boundaries(value)[source]

Accept finite thresholds strictly between zero and ninety degrees.