diff --git a/tests/__init.py__ b/tests/__init.py__ new file mode 100644 index 0000000..e69de29 diff --git a/tests/example.py b/tests/example.py new file mode 100644 index 0000000..fa40068 --- /dev/null +++ b/tests/example.py @@ -0,0 +1,9 @@ +import pytest + +@pytest.mark.parametrize("test_input,expected", [ + ("3+5", 8), + ("2+4", 6), + ("6*9", 42), +]) +def test_eval(test_input, expected): + assert eval(test_input) == expected \ No newline at end of file