Skip to content

Commit

Permalink
Initial test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rtwoo committed Nov 14, 2023
1 parent 1a8e7fc commit c1e6083
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/__pycache__
/.pytest_cache
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def inc(x):
return x + 1
7 changes: 7 additions & 0 deletions test_sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import main

# content of test_sample.py


def test_answer():
assert main.inc(3) == 4

0 comments on commit c1e6083

Please sign in to comment.