Skip to content

Conversation

@AronT-TLV
Copy link
Member

  • Add 54 comprehensive tests covering all mathematical functions
  • Test nth_root function with positive/negative numbers and edge cases
  • Test expa2x function with various inputs and error handling
  • Test financial functions (accrued, accrued_apr) with realistic scenarios
  • Test triangle_area_perim function with various triangle types
  • Test plotting functions to ensure they execute without errors
  • Export missing functions (nth_root, triangle_area_perim) from module
  • Update test infrastructure to use Math_Foundations package properly
  • All tests passing successfully

- Add 54 comprehensive tests covering all mathematical functions
- Test nth_root function with positive/negative numbers and edge cases
- Test expa2x function with various inputs and error handling
- Test financial functions (accrued, accrued_apr) with realistic scenarios
- Test triangle_area_perim function with various triangle types
- Test plotting functions to ensure they execute without errors
- Export missing functions (nth_root, triangle_area_perim) from module
- Update test infrastructure to use Math_Foundations package properly
- All tests passing successfully
- Configure GKS for headless operation in CI environments
- Add smart environment detection (CI vs interactive)
- Set ENV["GKSwstype"] = "100" for headless mode in module
- Update test configuration for headless plotting support
- Ensure all tests pass in both interactive and headless environments
@AronT-TLV AronT-TLV force-pushed the feature/add-basic-maths-tests branch from de43291 to 4b8fd57 Compare July 21, 2025 16:42
- Remove unused Nemo package (~500MB) from test dependencies
- Remove unused Reexport package from test dependencies
- Keep essential packages: Symbolics (for hyperbola functions), Polynomials (for polynomial functions)
- Replace @quickactivate with explicit load path management in tests
- Fix CI test execution to work with separate test Project.toml
- All 54 tests still pass with reduced dependency footprint
- Significantly faster CI builds due to smaller cache size
- Remove separate test/Project.toml (was pointless since main module loads Nemo anyway)
- Restore @quickactivate in test/runtests.jl
- Restore simple CI configuration without complex caching
- Consolidate .github/copilot/instructions.md into .github/copilot-instructions.md
- Add git staging best practices to prevent accidental commits
- Tests still pass (54/54) and CI will work as originally designed
- Accept that CI will be slower due to Nemo dependency (unavoidable)
@AronT-TLV AronT-TLV merged commit e269336 into main Jul 21, 2025
2 checks passed
@AronT-TLV AronT-TLV deleted the feature/add-basic-maths-tests branch July 21, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants