Skip to content

Commit f0ce95f

Browse files
authored
Create test_a02.py
Add 2nd test
1 parent 7cbb767 commit f0ce95f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

03_Code/test_a02.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import pytest
2+
from Calc import Calculator
3+
4+
# ...
5+
def test_03():
6+
a = Calculator(1,2)
7+
""" Check that plus(1,2) = 3 """
8+
assert a.plus() == 3

0 commit comments

Comments
 (0)