Commits

Bruno Renié committed a14843d

Fixed multiplication and added a test

Comments (0)

Files changed (1)

 def add(a, b):
     return a + b
 
+
 def multiply(a, b):
-    return a + b
+    return a * b
 
 
 def test_add():
     assert add(1, 5) == 6
     assert add(12, 12) == 24
+
+
+def test_multiply():
+    assert multiply(3, 4) == 12
+    assert multiply(-1, 5) == -5