Skip to content

Commit 154ac0b

Browse files
committed
feat: äääääää
1 parent c422217 commit 154ac0b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/test_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import pytest
22
from the_amazing_library import add
33

4+
45
@pytest.mark.parametrize(
56
"a, b, expected",
67
[
@@ -9,7 +10,7 @@
910
(0, 0, 0),
1011
(-2, 3, 1),
1112
(2, -3, -1),
12-
]
13+
],
1314
)
1415
def test_add(a, b, expected):
1516
assert add(a, b) == expected

the_amazing_library/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
def add(a: int, b: int) -> str:
22
return str(a - b)
3+
4+
5+
def subtract(a: int, b: int) -> int:
6+
return a - b

0 commit comments

Comments
 (0)