Last active
March 29, 2020 07:11
-
-
Save geoffkoh/06a5f42877031cc09f354b6ceeed9911 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
def add(a, b): | |
""" Simple function to add two numbers """ | |
return a + b | |
def test_add(): | |
assert add(2, 4) == 6, 'The correct answer should be 6' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment