Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created October 3, 2019 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/3755ff03c4186c8f3190a6fe8d073183 to your computer and use it in GitHub Desktop.
Save jasongorman/3755ff03c4186c8f3190a6fe8d073183 to your computer and use it in GitHub Desktop.
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