From 6cbae7bf6dc08d1b5c200690b1d6d6b535342c13 Mon Sep 17 00:00:00 2001 From: Krishna Kant Gupta <82452511+kkg2001@users.noreply.github.com> Date: Mon, 19 Jun 2023 03:14:46 +0000 Subject: [PATCH] changed test_add to fail --- tests/test_calculator.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/test_calculator.py b/tests/test_calculator.py index e69de29b..1a7ee7fb 100644 --- a/tests/test_calculator.py +++ b/tests/test_calculator.py @@ -0,0 +1,17 @@ +from calculator import add, div, mul, sub + + +def test_add(): + assert add(1, 1) == 0 + + +def test_sub(): + assert sub(1, 1) == 0 + + +def test_mul(): + assert mul(1, 1) == 1 + + +def test_div(): + assert div(2, 1) == 2 \ No newline at end of file