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 Historical Prototype and Canonical v1.0 produce different outputs in targeted cases.
- Permutations: mode, suit, and defender-slot combinations.