305 lines
8.6 KiB
Python
305 lines
8.6 KiB
Python
|
from unittest import TestCase
|
||
|
|
||
|
from benchmark.zellers_birthday import zeller
|
||
|
|
||
|
|
||
|
class Test_zeller(TestCase):
|
||
|
def test_zeller_1(self):
|
||
|
assert zeller(d=-831, m=321, y=57) == 'Saturday'
|
||
|
|
||
|
def test_zeller_2(self):
|
||
|
assert zeller(d=-896, m=-37, y=-36) == 'Saturday'
|
||
|
|
||
|
def test_zeller_3(self):
|
||
|
assert zeller(d=-267, m=849, y=58) == 'Monday'
|
||
|
|
||
|
def test_zeller_4(self):
|
||
|
assert zeller(d=-814, m=-614, y=-29) == 'Saturday'
|
||
|
|
||
|
def test_zeller_5(self):
|
||
|
assert zeller(d=-199, m=597, y=-89) == 'Saturday'
|
||
|
|
||
|
def test_zeller_6(self):
|
||
|
assert zeller(d=438, m=539, y=83) == 'Monday'
|
||
|
|
||
|
def test_zeller_7(self):
|
||
|
assert zeller(d=-907, m=191, y=85) == 'Monday'
|
||
|
|
||
|
def test_zeller_8(self):
|
||
|
assert zeller(d=547, m=933, y=41) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_9(self):
|
||
|
assert zeller(d=186, m=21, y=82) == 'Friday'
|
||
|
|
||
|
def test_zeller_10(self):
|
||
|
assert zeller(d=-267, m=394, y=58) == 'Thursday'
|
||
|
|
||
|
def test_zeller_11(self):
|
||
|
assert zeller(d=835, m=224, y=6) == 'Saturday'
|
||
|
|
||
|
def test_zeller_12(self):
|
||
|
assert zeller(d=-497, m=-916, y=-35) == 'Thursday'
|
||
|
|
||
|
def test_zeller_13(self):
|
||
|
assert zeller(d=991, m=267, y=41) == 'Thursday'
|
||
|
|
||
|
def test_zeller_14(self):
|
||
|
assert zeller(d=-23, m=289, y=-12) == 'Thursday'
|
||
|
|
||
|
def test_zeller_15(self):
|
||
|
assert zeller(d=808, m=355, y=-56) == 'Friday'
|
||
|
|
||
|
def test_zeller_16(self):
|
||
|
assert zeller(d=336, m=230, y=-15) == 'Friday'
|
||
|
|
||
|
def test_zeller_17(self):
|
||
|
assert zeller(d=-638, m=981, y=-63) == 'Saturday'
|
||
|
|
||
|
def test_zeller_18(self):
|
||
|
assert zeller(d=-688, m=76, y=84) == 'Monday'
|
||
|
|
||
|
def test_zeller_19(self):
|
||
|
assert zeller(d=321, m=845, y=66) == 'Sunday'
|
||
|
|
||
|
def test_zeller_20(self):
|
||
|
assert zeller(d=-495, m=-845, y=-72) == 'Saturday'
|
||
|
|
||
|
def test_zeller_21(self):
|
||
|
assert zeller(d=101, m=939, y=-42) == 'Thursday'
|
||
|
|
||
|
def test_zeller_22(self):
|
||
|
assert zeller(d=-71, m=984, y=-93) == 'Sunday'
|
||
|
|
||
|
def test_zeller_23(self):
|
||
|
assert zeller(d=-429, m=782, y=-93) == 'Saturday'
|
||
|
|
||
|
def test_zeller_24(self):
|
||
|
assert zeller(d=508, m=89, y=-5) == 'Monday'
|
||
|
|
||
|
def test_zeller_25(self):
|
||
|
assert zeller(d=851, m=-437, y=-42) == 'Monday'
|
||
|
|
||
|
def test_zeller_26(self):
|
||
|
assert zeller(d=-381, m=-259, y=-58) == 'Sunday'
|
||
|
|
||
|
def test_zeller_27(self):
|
||
|
assert zeller(d=588, m=-947, y=19) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_28(self):
|
||
|
assert zeller(d=-159, m=480, y=62) == 'Friday'
|
||
|
|
||
|
def test_zeller_29(self):
|
||
|
assert zeller(d=434, m=782, y=-93) == 'Monday'
|
||
|
|
||
|
def test_zeller_30(self):
|
||
|
assert zeller(d=-851, m=-304, y=-9) == 'Friday'
|
||
|
|
||
|
def test_zeller_31(self):
|
||
|
assert zeller(d=427, m=-859, y=11) == 'Thursday'
|
||
|
|
||
|
def test_zeller_32(self):
|
||
|
assert zeller(d=826, m=-460, y=-40) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_33(self):
|
||
|
assert zeller(d=517, m=-986, y=-24) == 'Saturday'
|
||
|
|
||
|
def test_zeller_34(self):
|
||
|
assert zeller(d=669, m=657, y=65) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_35(self):
|
||
|
assert zeller(d=20, m=-639, y=22) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_36(self):
|
||
|
assert zeller(d=-47, m=-51, y=24) == 'Thursday'
|
||
|
|
||
|
def test_zeller_37(self):
|
||
|
assert zeller(d=-702, m=789, y=17) == 'Saturday'
|
||
|
|
||
|
def test_zeller_38(self):
|
||
|
assert zeller(d=658, m=-192, y=52) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_39(self):
|
||
|
assert zeller(d=-667, m=242, y=-28) == 'Saturday'
|
||
|
|
||
|
def test_zeller_40(self):
|
||
|
assert zeller(d=765, m=-37, y=-36) == 'Saturday'
|
||
|
|
||
|
def test_zeller_41(self):
|
||
|
assert zeller(d=-659, m=480, y=62) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_42(self):
|
||
|
assert zeller(d=991, m=933, y=41) == 'Friday'
|
||
|
|
||
|
def test_zeller_43(self):
|
||
|
assert zeller(d=-447, m=166, y=72) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_44(self):
|
||
|
assert zeller(d=956, m=-726, y=76) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_45(self):
|
||
|
assert zeller(d=114, m=206, y=-63) == 'Friday'
|
||
|
|
||
|
def test_zeller_46(self):
|
||
|
assert zeller(d=-442, m=671, y=61) == 'Saturday'
|
||
|
|
||
|
def test_zeller_47(self):
|
||
|
assert zeller(d=-611, m=-373, y=7) == 'Friday'
|
||
|
|
||
|
def test_zeller_48(self):
|
||
|
assert zeller(d=-364, m=992, y=-16) == 'Saturday'
|
||
|
|
||
|
def test_zeller_49(self):
|
||
|
assert zeller(d=-611, m=206, y=7) == 'Friday'
|
||
|
|
||
|
def test_zeller_50(self):
|
||
|
assert zeller(d=111, m=553, y=-85) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_51(self):
|
||
|
assert zeller(d=-638, m=-373, y=-63) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_52(self):
|
||
|
assert zeller(d=897, m=-866, y=-73) == 'Friday'
|
||
|
|
||
|
def test_zeller_53(self):
|
||
|
assert zeller(d=-166, m=590, y=76) == 'Friday'
|
||
|
|
||
|
def test_zeller_54(self):
|
||
|
assert zeller(d=278, m=574, y=-85) == 'Sunday'
|
||
|
|
||
|
def test_zeller_55(self):
|
||
|
assert zeller(d=-445, m=-726, y=76) == 'Monday'
|
||
|
|
||
|
def test_zeller_56(self):
|
||
|
assert zeller(d=449, m=954, y=52) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_57(self):
|
||
|
assert zeller(d=-896, m=224, y=6) == 'Friday'
|
||
|
|
||
|
def test_zeller_58(self):
|
||
|
assert zeller(d=-819, m=166, y=72) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_59(self):
|
||
|
assert zeller(d=-416, m=-532, y=7) == 'Monday'
|
||
|
|
||
|
def test_zeller_60(self):
|
||
|
assert zeller(d=501, m=-309, y=17) == 'Friday'
|
||
|
|
||
|
def test_zeller_61(self):
|
||
|
assert zeller(d=182, m=834, y=58) == 'Monday'
|
||
|
|
||
|
def test_zeller_62(self):
|
||
|
assert zeller(d=262, m=-578, y=85) == 'Friday'
|
||
|
|
||
|
def test_zeller_63(self):
|
||
|
assert zeller(d=650, m=655, y=27) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_64(self):
|
||
|
assert zeller(d=-634, m=635, y=19) == 'Sunday'
|
||
|
|
||
|
def test_zeller_65(self):
|
||
|
assert zeller(d=247, m=113, y=12) == 'Sunday'
|
||
|
|
||
|
def test_zeller_66(self):
|
||
|
assert zeller(d=-482, m=-259, y=-58) == 'Monday'
|
||
|
|
||
|
def test_zeller_67(self):
|
||
|
assert zeller(d=-170, m=-673, y=-70) == 'Monday'
|
||
|
|
||
|
def test_zeller_68(self):
|
||
|
assert zeller(d=287, m=-441, y=-94) == 'Sunday'
|
||
|
|
||
|
def test_zeller_69(self):
|
||
|
assert zeller(d=878, m=531, y=54) == 'Sunday'
|
||
|
|
||
|
def test_zeller_70(self):
|
||
|
assert zeller(d=304, m=-320, y=40) == 'Thursday'
|
||
|
|
||
|
def test_zeller_71(self):
|
||
|
assert zeller(d=-288, m=-841, y=76) == 'Tuesday'
|
||
|
|
||
|
def test_zeller_72(self):
|
||
|
assert zeller(d=658, m=-523, y=52) == 'Friday'
|
||
|
|
||
|
def test_zeller_73(self):
|
||
|
assert zeller(d=499, m=805, y=17) == 'Saturday'
|
||
|
|
||
|
def test_zeller_74(self):
|
||
|
assert zeller(d=128, m=635, y=40) == 'Thursday'
|
||
|
|
||
|
def test_zeller_75(self):
|
||
|
assert zeller(d=-651, m=312, y=-84) == 'Sunday'
|
||
|
|
||
|
def test_zeller_76(self):
|
||
|
assert zeller(d=269, m=-487, y=-23) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_77(self):
|
||
|
assert zeller(d=-638, m=54, y=-63) == 'Friday'
|
||
|
|
||
|
def test_zeller_78(self):
|
||
|
assert zeller(d=501, m=-841, y=17) == 'Monday'
|
||
|
|
||
|
def test_zeller_79(self):
|
||
|
assert zeller(d=-673, m=-449, y=-73) == 'Saturday'
|
||
|
|
||
|
def test_zeller_80(self):
|
||
|
assert zeller(d=-555, m=21, y=82) == 'Friday'
|
||
|
|
||
|
def test_zeller_81(self):
|
||
|
assert zeller(d=735, m=-141, y=93) == 'Saturday'
|
||
|
|
||
|
def test_zeller_82(self):
|
||
|
assert zeller(d=-966, m=524, y=-3) == 'Saturday'
|
||
|
|
||
|
def test_zeller_83(self):
|
||
|
assert zeller(d=826, m=955, y=-40) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_84(self):
|
||
|
assert zeller(d=390, m=-386, y=65) == 'Friday'
|
||
|
|
||
|
def test_zeller_85(self):
|
||
|
assert zeller(d=58, m=-37, y=-36) == 'Friday'
|
||
|
|
||
|
def test_zeller_86(self):
|
||
|
assert zeller(d=943, m=113, y=12) == 'Thursday'
|
||
|
|
||
|
def test_zeller_87(self):
|
||
|
assert zeller(d=-442, m=-824, y=61) == 'Saturday'
|
||
|
|
||
|
def test_zeller_88(self):
|
||
|
assert zeller(d=-497, m=-566, y=-35) == 'Saturday'
|
||
|
|
||
|
def test_zeller_89(self):
|
||
|
assert zeller(d=271, m=-523, y=-94) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_90(self):
|
||
|
assert zeller(d=7, m=-583, y=76) == 'Saturday'
|
||
|
|
||
|
def test_zeller_91(self):
|
||
|
assert zeller(d=-98, m=-966, y=-95) == 'Thursday'
|
||
|
|
||
|
def test_zeller_92(self):
|
||
|
assert zeller(d=61, m=768, y=-51) == 'Wednesday'
|
||
|
|
||
|
def test_zeller_93(self):
|
||
|
assert zeller(d=545, m=84, y=30) == 'Sunday'
|
||
|
|
||
|
def test_zeller_94(self):
|
||
|
assert zeller(d=20, m=-761, y=22) == 'Monday'
|
||
|
|
||
|
def test_zeller_95(self):
|
||
|
assert zeller(d=499, m=-424, y=17) == 'Thursday'
|
||
|
|
||
|
def test_zeller_96(self):
|
||
|
assert zeller(d=-442, m=-241, y=61) == 'Thursday'
|
||
|
|
||
|
def test_zeller_97(self):
|
||
|
assert zeller(d=445, m=-201, y=-92) == 'Monday'
|
||
|
|
||
|
def test_zeller_98(self):
|
||
|
assert zeller(d=-646, m=-366, y=-92) == 'Monday'
|
||
|
|
||
|
def test_zeller_99(self):
|
||
|
assert zeller(d=-846, m=-291, y=-93) == 'Saturday'
|
||
|
|
||
|
def test_zeller_100(self):
|
||
|
assert zeller(d=-831, m=-828, y=57) == 'Saturday'
|