Moved tests out to root directory.
This commit is contained in:
9
test/test_square.py
Normal file
9
test/test_square.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
def square(x):
|
||||
return x * x
|
||||
|
||||
def test_square():
|
||||
assert square(2) == 4
|
||||
|
||||
def test_square_negative():
|
||||
assert square(-2) == 4
|
||||
Reference in New Issue
Block a user