File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
python-version: '3.10'
1313
- name: Install dependencies
1414
run: pip install -r requirements.txt
15+
1516
- name: Run tests and collect coverage for calculator
1617
run: pytest --cov
1718
- name: Upload coverage to Codecov
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33

44
def test_add():
55
assert SimpleCalculator.add(1, 2) == 3.0
6+
7+
def test_subtract():
8+
assert SimpleCalculator.subtract(1, 2) == -1.0

0 commit comments

Comments
 (0)