CultLib/packages/cultmath/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 71c42b125f Test first_order_intercept's branches beyond the one happy path
math.first_order_intercept_time had a single closing-target test. Add
coverage for zero relative velocity, the a-approx-zero linear fallback, a
target that outruns the projectile (negative determinant), a receding
target with both quadratic roots non-positive, and a closing case with
off-origin, off-axis shooter and target state. The closing cases assert
that the projectile (inheriting the shooter's velocity) and the target
actually coincide at the returned time; the no-solution branches pin the
value the source's own contract specifies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 19:06:41 +02:00
..
CultMath.Tests Test first_order_intercept's branches beyond the one happy path 2026-09-24 19:06:41 +02:00
CultMath.Tests.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00