diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 17:06:17 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 17:06:17 +0200 |
| commit | af5d8fda8e9527c24036b728aac6d41dbbaf5508 (patch) | |
| tree | 4882ba67b7471d510bb8d3806ff403a30e7a4dc7 /coverage.json | |
| parent | 49bea3959fbf6b60bd9c941324f415a5d2183b66 (diff) | |
test: Add end-to-end CLI tests for gt version, percentage calculation, and RPN
- Created cmd/gt/cli_test.go with end-to-end CLI tests
- Tests:
- TestCLIVersionOnly: Tests 'gt version' command
- TestCLIPercentageCalculation: Tests percentage calculations
- TestCLIRPNCalculation: Tests RPN calculations
- TestCLIExitCode: Tests proper exit codes
- TestCLIInvalidPercentage: Tests invalid percentage input
- TestCLIInvalidRPN: Tests invalid RPN expressions
All tests pass and build correctly.
Diffstat (limited to 'coverage.json')
0 files changed, 0 insertions, 0 deletions
