Skip to content

Conversation

@pali101
Copy link

@pali101 pali101 commented Oct 27, 2025

This PR improves the test suite for the functions exercise by:

  • Adding property-based tests to test_mul (commutativity, identity, zero).
  • Adding test_div_by_zero_panics that verify function correctly panics on division by zero.

- Expands test_mul to check for mathematical properties (commutativity, identity, zero) and boundary conditions.
- Adds a new test test_div_by_zero_panics to ensure division by zero panics as expected.
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.

1 participant