Files
fuj-management/go/internal/domain/fees/fees_test.go
Jan Novak 57ec817044
All checks were successful
Deploy to K8s / deploy (push) Successful in 6s
feat(go/M2.3+M2.4): port domain/fees.CalculateFee and CalculateJuniorFee
Ports calculate_fee and calculate_junior_fee from scripts/attendance.py
into a new go/internal/domain/fees package. Introduces the Expected type
(Value int, Unknown bool) for the junior "?" sentinel, keeping the Go
API strictly typed instead of mirroring Python's str|int return.

All 20 table-driven tests pass with -race; golangci-lint clean.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-06 00:38:09 +02:00

1.2 KiB