Skip to content

Instantly share code, notes, and snippets.

@geoffkoh
Last active March 29, 2020 07:11
Show Gist options
  • Save geoffkoh/06a5f42877031cc09f354b6ceeed9911 to your computer and use it in GitHub Desktop.
Save geoffkoh/06a5f42877031cc09f354b6ceeed9911 to your computer and use it in GitHub Desktop.
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