From ad5a5040e4353bc091b6b57937ac5459424d6511 Mon Sep 17 00:00:00 2001 From: FatherOfEgg Date: Tue, 28 Nov 2023 19:11:15 -0500 Subject: [PATCH] More unit tests --- test.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 221e29f..bfa553f 100644 --- a/test.py +++ b/test.py @@ -1,9 +1,14 @@ # test_with_pytest.py -# import pytest +import pytest -from calculator import add +from calculator import * def test_add(): assert add(2, 2) == 4 +def test_multiply(): + assert multiply(6, 8) == 48 + +def test_divide(): + assert divide(60, 5) == 12 \ No newline at end of file