Skip to content

Commit 908ceca

Browse files
added basic test
1 parent 7c3ea6a commit 908ceca

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

tests/unit/test_sample.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""
2+
Sample test class, delete when tests are written
3+
"""
4+
5+
import pytest
6+
7+
class TestSample:
8+
"""
9+
This class runs a basic test
10+
"""
11+
12+
def test_add(self):
13+
"""
14+
Test addition
15+
"""
16+
input_1 = 1
17+
input_2 = 2
18+
expected = 3
19+
20+
actual = input_1 + input_2
21+
22+
assert actual == expected

0 commit comments

Comments
 (0)