-
-
Save jasongorman/3755ff03c4186c8f3190a6fe8d073183 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import assertion | |
import ceiling_test | |
import factorial_test | |
import floor_test | |
import sqrt_test | |
from assertion import assert_equals, assert_raises | |
from maths import sqrt, factorial, floor, ceiling | |
def main(): | |
print('Running math tests...') | |
sqrt_test.run() | |
factorial_test.run() | |
floor_test.run() | |
ceiling_test.run() | |
print('Tests run: ', assertion.run) | |
print('Passed: ', assertion.passed, ', Failed: ', assertion.run - assertion.passed) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment