Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadelmalah committed May 7, 2024
1 parent 89ba71f commit 2421032
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions testing/test_function.py → testing/test_parametrize.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
from sum import sum


def test_basic():
assert sum(1, 2) == 3


@pytest.mark.parametrize("a,b,expected", [(1, 2, 3), (2, 3, 5), (3, 4, 7)])
def test_param(a, b, expected):
assert sum(a, b) == expected

0 comments on commit 2421032

Please sign in to comment.