This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
kse-02/tests/test_zeller.py
2023-12-09 17:56:51 +01:00

23 lines
No EOL
623 B
Python

from unittest import TestCase
from benchmark.zellers_birthday import zeller
class Test_zeller(TestCase):
def test_zeller_1(self):
assert zeller(d=-134, m=797, y=67) == 'Sunday'
def test_zeller_2(self):
assert zeller(d=-156, m=10, y=-57) == 'Wednesday'
def test_zeller_3(self):
assert zeller(d=715, m=444, y=74) == 'Thursday'
def test_zeller_4(self):
assert zeller(d=-726, m=864, y=-16) == 'Thursday'
def test_zeller_5(self):
assert zeller(d=31, m=910, y=2) == 'Sunday'
def test_zeller_6(self):
assert zeller(d=369, m=-917, y=-1000) == 'Sunday'