test_spinningBodyTwoDOFResetChecks

Regression tests for issue #469: Reset() configuration checks for effectors.

SpinningBodyTwoDOFStateEffector::Reset() validates that both per-axis DCMs are proper rotations and both inertia tensors are symmetric and positive definite. These tests break exactly one precondition at a time from a valid configuration and assert initialization raises a BasiliskError.

test_spinningBodyTwoDOFResetChecks.test_spinningBodyTwoDOF_resetAcceptsMasslessLowerBody()[source]

A massless lower body (mass1 == 0) may carry a zero inertia tensor without error.

test_spinningBodyTwoDOFResetChecks.test_spinningBodyTwoDOF_resetAcceptsValidConfig()[source]

A fully valid configuration must initialize without raising.

test_spinningBodyTwoDOFResetChecks.test_spinningBodyTwoDOF_resetErrors(brokenPrecondition, expectedMessage, breakIt)[source]

Reset() must raise a BasiliskError naming the misconfigured quantity.