Initial commit

This commit is contained in:
2023-06-17 18:56:18 +03:00
commit 78c11c4b19
8 changed files with 196 additions and 0 deletions
View File
+24
View File
@@ -0,0 +1,24 @@
import pytest
from poetry_template.main import sum, mul
def test_sum():
a = 1
b = 2
s = 3
assert s == sum(a, b)
def test_sum_wrong():
a = 1
b = 2
s_wrong = 4
assert s_wrong != sum(a, b)
def test_mul():
a = 1
b = 2
m = 2
assert m == mul(a, b)