Created
January 11, 2023 18:59
-
-
Save HectorTorres/d9068b26dd6e899b7c3bd81ec7f392db 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 function_square(a): | |
return a*a | |
def test_function_square(): | |
assert function_square(2) == 5 | |
test_function_square() | |
#Run the file | |
#pytest test_pytest_01.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment