From aea9cd7d6ae5072af9fa90719267b3158a0a6c29 Mon Sep 17 00:00:00 2001 From: Aarshi Chaturvedi <70937599+aarshichaturvedi@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:02:12 +0000 Subject: [PATCH] made changes to add --- tests/test_calculator.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/test_calculator.py b/tests/test_calculator.py index e69de29b..2d227268 100644 --- a/tests/test_calculator.py +++ b/tests/test_calculator.py @@ -0,0 +1,20 @@ +from calculator import add, div, mul, sub + + +# def test_add(): +# assert add(1, 1) == 2 + +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