mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-01 23:25:04 -04:00
Fix rounding consistency and update tests per review feedback
- Ensure total = subtotal + tax by deriving total from rounded components - Use assertEqualsWithDelta for float comparisons in tests - Add defensive null coalescing in calculateSummary helper - Add missing 'count' key to test data rows - Add testRoundingAtBoundary test case
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f