You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for testing large return values (> 255)
Previously, test suite was limited to verifying return values between
0-255 due to Unix exit code constraints. It made testing functions with
larger return values awkward, requiring workarounds like
"(fib(16) - 987) == 0".
This commit introduces a new try_large() function that:
- Wraps test code in a test_function() that returns the value to test
- Uses printf to output the return value instead of exit codes
- Compares the printed output against expected values
Close#152
0 commit comments