Open ershadow786 opened 1 month ago
Summary : Add parameterized test data and fixes for identity matrix creation:
Introduced static data providers using Stream<Arguments> for parameterized tests:
Stream<Arguments>
provideValidEyeData: Validates the creation of identity matrices with various sizes, including edge cases (1x1 and 5x5 matrices).
provideValidEyeData
provideInvalidEyeDimensions: Tests for expected exceptions when creating identity matrices with invalid dimensions (negative and zero values).
provideInvalidEyeDimensions
Fixed identified issues in the eye function and improved exception handling in tests.
eye
Enhanced assertions to ensure correct matrix shape and behavior when exceptions are encountered.
Summary : Add parameterized test data and fixes for identity matrix creation:
Introduced static data providers using
Stream<Arguments>
for parameterized tests:provideValidEyeData
: Validates the creation of identity matrices with various sizes, including edge cases (1x1 and 5x5 matrices).provideInvalidEyeDimensions
: Tests for expected exceptions when creating identity matrices with invalid dimensions (negative and zero values).Fixed identified issues in the
eye
function and improved exception handling in tests.Enhanced assertions to ensure correct matrix shape and behavior when exceptions are encountered.