Skip to content

Commit

Permalink
made changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SANGAY THINLEY authored and SANGAY THINLEY committed Sep 6, 2023
1 parent 5ce9da3 commit bb2f0a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 12 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@ def add(a, b):
return a + b


def test_add():
assert add(2, 3) == 5
assert add('space', 'ship') == 'spaceship'


def subtract(a, b):
return a + b # <--- fix this in step 8


# uncomment the following test in step 5
#def test_subtract():
# assert subtract(2, 3) == -1


4 changes: 1 addition & 3 deletions test_example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

# def test_add():
# assert add(2, 3) == 5
# assert add('space', 'ship') == 'spaceship'


# uncomment the following test in step 5
# def test_subtract():
Expand Down

0 comments on commit bb2f0a1

Please sign in to comment.