Skip to content

Commit

Permalink
test: added test file for ex1
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-cartalemi committed Nov 8, 2023
1 parent 5861acd commit 4dd472c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_ex1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from src.ex1 import get_week_day

def test_ex1() -> None:
assert get_week_day(0) == ""
assert get_week_day(1) == "Monday"
assert get_week_day(2) == "Tuesday"
assert get_week_day(8) == ""
assert get_week_day(4) == "Thursday"
assert get_week_day(7) == "Sunday"
assert get_week_day(5) == "Friday"
assert get_week_day(32) == ""
assert get_week_day(3) == "Wednesday"

0 comments on commit 4dd472c

Please sign in to comment.