Skip to content

Commit

Permalink
renaming files
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadelmalah committed May 6, 2024
1 parent d5c86be commit 7f48398
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Testing/function-test.py

This file was deleted.

File renamed without changes.
11 changes: 11 additions & 0 deletions testing/test_function.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest
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 7f48398

Please sign in to comment.