17 lines
446 B
Python
17 lines
446 B
Python
|
from unittest import TestCase
|
||
|
from benchmark.zellers_birthday import zeller
|
||
|
|
||
|
|
||
|
class Test_zeller(TestCase):
|
||
|
def test_zeller_1(self):
|
||
|
assert zeller(d=-466, m=3, y=76) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_2(self):
|
||
|
assert zeller(d=626, m=-928, y=27) == 'Saturday'
|
||
|
|
||
|
def test_zeller_3(self):
|
||
|
assert zeller(d=19, m=108, y=68) == 'Friday'
|
||
|
|
||
|
def test_zeller_4(self):
|
||
|
assert zeller(d=284, m=255, y=-6) == 'Thursday'
|