Battle Calculator Unit Tests
Test Runner
This page runs unit tests against the same pure battle resolver used by the calculator.
- Common scenarios: expected battle flows and known suit interactions.
- Edge cases: low/high damage bounds, empty slots, and clamp behavior.
- Mode contrast checks: explicit pass/fail assertions that the Historical Prototype and deployed v1.4.0 / rules v3.0 relation produce different outputs at versioned boundaries.
- Permutations: mode, suit, and defender-slot combinations.