Added mul function.
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-04-01 12:29:25 +03:00
parent 7b0365891a
commit b236f6ab73
2 changed files with 13 additions and 2 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
import pytest
from poetry_template.main import sum
from poetry_template.main import sum, mul
def test_sum():
a = 1
@@ -15,3 +15,10 @@ def test_sum_wrong():
s_wrong = 4
assert s_wrong == sum(a, b)
def test_mul():
a = 1
b = 2
m = 2
assert m == mul(a, b)