Commit 5f93710b authored by julian.bauer's avatar julian.bauer
Browse files
parent 88937d2c
......@@ -11,11 +11,9 @@ import example
class Test_add:
def test_ints(self,):
assert example.add(1, 2, 3) == 6
def test_mixed_numbers(self,):
assert example.add(1, 2, 3.) == 6.
'''Attention: Maybe you should use "is_close"'''
assert example.add(1, 2, 3.0) == 6.0
def test_strings(self, ):
assert example.add('a', '2', '3') == 'a23'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment