Skip to content

Commit 7944a2d

Browse files
authored
def addition added
1 parent 968bdf9 commit 7944a2d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test_add.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# sum of numbers
2+
def addition(a,b):
3+
return a+b
24
def test_addition_basic(a,b):
35
assert addition(2,3)==5
46
assert addition(-1,1)==0
@@ -14,3 +16,4 @@ def test_addition_basic(a,b):
1416

1517

1618

19+

0 commit comments

Comments
 (0)