Skip to content

Commit 7077513

Browse files
authored
Merge pull request #43 from codersforcauses/21-add-logic-to-the-addition-function-19
added my folder :_
2 parents d6cdadb + 1a5b438 commit 7077513

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

brendan/__init__.py

Whitespace-only changes.

brendan/test_addition.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def add(a, b):
2+
"""Add a and b"""
3+
return a + b
4+
5+
6+
def test_add():
7+
assert add(1, 1) == 2
8+
assert add(0, 0) == 0
9+
assert add(1, -1) == 0

0 commit comments

Comments
 (0)