Add test for multiplication
This commit is contained in:
1 parent
a23ba76ac9
commit
061a2f4ab4
1 file changed
+3
@@ -12,3 +12,6 @@ class TestCalculator:
|
|||||||
|
|
||||||
def test_subtract(self):
|
def test_subtract(self):
|
||||||
assert 2 == calculator.subtract(4, 2)
|
assert 2 == calculator.subtract(4, 2)
|
||||||
|
|
||||||
|
def test_multiplication(self):
|
||||||
|
assert 100 == calculator.multiply(10, 10)
|
||||||
Reference in new issue
Block a user