Skip to content

Commit

Permalink
Partial coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmurray-codecov committed Nov 6, 2024
1 parent 90b50c8 commit 9f22bd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ def multiply(a: int, b:int) -> int:

def divide(a: int, b: int) -> float:
return a / b

def asdf(a: int) -> str:
return "asdf" * a if a else "rip"
5 changes: 4 additions & 1 deletion test_main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from main import add, subtract, multiply
from main import add, asdf, subtract, multiply

def test_add():
assert add(1, 2) == 3
Expand All @@ -8,3 +8,6 @@ def test_subtract():

def test_multiply():
assert multiply(2, 3) == 6

def test_asdf():
assert asdf(0) == "rip"

0 comments on commit 9f22bd4

Please sign in to comment.