Testing¶
Zig tests¶
Covers unit tests for all modules: data structures, enums, validation, editing, grouping, MCE pipeline.
Python tests¶
Covers MS-DRG grouping, MCE editing, lifecycle, edge cases, and error handling.
Comparison testing¶
# Compare MS-DRG against Java reference
python tests/compare_groupers.py --file tests/test_claims.json
# Compare MCE against Java reference
python tests/compare_mce.py --file tests/test_claims.json
Requires JDK 17+ and reference JARs in jars/.