Fixed an error in symmath_check that occurred when
the expected result = 0. symmath_check() was dividing a quantity by the expected result, leading to a NaN value that caused the answer to be marked incorrect. Added test_symmath_check.py with basic tests for the symmath_check() function.
Showing
lms/lib/symmath/test_symmath_check.py
0 → 100644
Please
register
or
sign in
to comment