From b14f74a12a65699e8e76eb7a6810aa7bb8e9e70f Mon Sep 17 00:00:00 2001 From: Krishna Kant Gupta <82452511+kkg2001@users.noreply.github.com> Date: Mon, 19 Jun 2023 03:37:38 +0000 Subject: [PATCH] changes made in test_add --- tests/test_calculator.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/test_calculator.py b/tests/test_calculator.py index e69de29b..0b1c41b3 100644 --- a/tests/test_calculator.py +++ b/tests/test_calculator.py @@ -0,0 +1,12 @@ +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