summaryrefslogtreecommitdiff
path: root/integrationtests
AgeCommit message (Collapse)Author
2026-05-23chore: bump go.mod from go 1.25.0 to go 1.26.0Paul Buetow
Update the Go version directive to match the local runtime (go1.26.3). Also includes go mod tidy cleanup and unrelated test improvements.
2026-05-23style: run gofmt on all Go source filesPaul Buetow
Fix formatting in 12 files to match gofmt standards. No logical changes.
2026-05-22test: add metric integration testsPaul Buetow
Task fd: End-to-end integration tests for metric operations: - Unit conversion (Mbps→Gbps, hr→min, km→mi, Cool→GB) - Metric commands (show, list, compatible, binary/decimal set) - Custom metric define/list - Cross-category multiply (Mbps*hr→bits) - Metric-aware addition and hyper operators - Error cases (incompatible categories, unknown metric, etc.)
2026-04-11feat: implement binary exponentiation with ** operatorPaul Buetow
- Add PowInt(int) method to Number interface - Implement binary exponentiation for Float and Rat types - Add FastPower operator to handle ** operator - Register ** operator in NewOperatorRegistry - Add unit tests for PowInt (basic, large, negative exponents) - Add integration tests for ** operator (CLI and stdin) - Update README.md with ** operator documentation
2026-03-26refactor: move integration tests to ./integrationtests folderPaul Buetow
Integration tests that use the gt tool directly via exec.Command have been moved from cmd/gt/cli_test.go to integrationtests/cli_test.go. Unit tests in cmd/gt/main_test.go remain in place as they test internal functions (runCommand) rather than the binary. Package declaration changed from 'main' to 'integrationtests'.