Files
seasonedParser/test/test_square.py

10 lines
129 B
Python

def square(x):
return x * x
def test_square():
assert square(2) == 4
def test_square_negative():
assert square(-2) == 4