305 lines
No EOL
8.6 KiB
Python
305 lines
No EOL
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=-145, m=296, y=-46) == 'Sunday'
|
|
|
|
def test_zeller_2(self):
|
|
assert zeller(d=521, m=722, y=29) == 'Tuesday'
|
|
|
|
def test_zeller_3(self):
|
|
assert zeller(d=247, m=270, y=48) == 'Saturday'
|
|
|
|
def test_zeller_4(self):
|
|
assert zeller(d=-300, m=-543, y=-34) == 'Sunday'
|
|
|
|
def test_zeller_5(self):
|
|
assert zeller(d=-788, m=722, y=71) == 'Sunday'
|
|
|
|
def test_zeller_6(self):
|
|
assert zeller(d=355, m=8, y=-34) == 'Wednesday'
|
|
|
|
def test_zeller_7(self):
|
|
assert zeller(d=-830, m=-538, y=71) == 'Thursday'
|
|
|
|
def test_zeller_8(self):
|
|
assert zeller(d=368, m=726, y=-99) == 'Wednesday'
|
|
|
|
def test_zeller_9(self):
|
|
assert zeller(d=758, m=-547, y=80) == 'Friday'
|
|
|
|
def test_zeller_10(self):
|
|
assert zeller(d=165, m=435, y=32) == 'Monday'
|
|
|
|
def test_zeller_11(self):
|
|
assert zeller(d=-850, m=22, y=-41) == 'Friday'
|
|
|
|
def test_zeller_12(self):
|
|
assert zeller(d=769, m=964, y=17) == 'Friday'
|
|
|
|
def test_zeller_13(self):
|
|
assert zeller(d=-850, m=855, y=-41) == 'Monday'
|
|
|
|
def test_zeller_14(self):
|
|
assert zeller(d=591, m=350, y=-13) == 'Sunday'
|
|
|
|
def test_zeller_15(self):
|
|
assert zeller(d=696, m=-967, y=-91) == 'Thursday'
|
|
|
|
def test_zeller_16(self):
|
|
assert zeller(d=-161, m=-656, y=-67) == 'Thursday'
|
|
|
|
def test_zeller_17(self):
|
|
assert zeller(d=-160, m=850, y=53) == 'Friday'
|
|
|
|
def test_zeller_18(self):
|
|
assert zeller(d=-366, m=306, y=48) == 'Monday'
|
|
|
|
def test_zeller_19(self):
|
|
assert zeller(d=226, m=-15, y=32) == 'Sunday'
|
|
|
|
def test_zeller_20(self):
|
|
assert zeller(d=-850, m=19, y=-41) == 'Thursday'
|
|
|
|
def test_zeller_21(self):
|
|
assert zeller(d=-671, m=-984, y=-76) == 'Wednesday'
|
|
|
|
def test_zeller_22(self):
|
|
assert zeller(d=423, m=-719, y=94) == 'Wednesday'
|
|
|
|
def test_zeller_23(self):
|
|
assert zeller(d=255, m=-385, y=-2) == 'Friday'
|
|
|
|
def test_zeller_24(self):
|
|
assert zeller(d=-769, m=-410, y=46) == 'Tuesday'
|
|
|
|
def test_zeller_25(self):
|
|
assert zeller(d=-645, m=-746, y=37) == 'Friday'
|
|
|
|
def test_zeller_26(self):
|
|
assert zeller(d=413, m=720, y=-43) == 'Monday'
|
|
|
|
def test_zeller_27(self):
|
|
assert zeller(d=-583, m=971, y=-66) == 'Monday'
|
|
|
|
def test_zeller_28(self):
|
|
assert zeller(d=-331, m=-808, y=51) == 'Tuesday'
|
|
|
|
def test_zeller_29(self):
|
|
assert zeller(d=86, m=249, y=11) == 'Tuesday'
|
|
|
|
def test_zeller_30(self):
|
|
assert zeller(d=425, m=484, y=-43) == 'Sunday'
|
|
|
|
def test_zeller_31(self):
|
|
assert zeller(d=-161, m=-523, y=-67) == 'Monday'
|
|
|
|
def test_zeller_32(self):
|
|
assert zeller(d=953, m=-629, y=29) == 'Monday'
|
|
|
|
def test_zeller_33(self):
|
|
assert zeller(d=616, m=-410, y=37) == 'Sunday'
|
|
|
|
def test_zeller_34(self):
|
|
assert zeller(d=422, m=758, y=48) == 'Saturday'
|
|
|
|
def test_zeller_35(self):
|
|
assert zeller(d=-310, m=-713, y=-48) == 'Tuesday'
|
|
|
|
def test_zeller_36(self):
|
|
assert zeller(d=611, m=-17, y=-50) == 'Friday'
|
|
|
|
def test_zeller_37(self):
|
|
assert zeller(d=-957, m=-238, y=40) == 'Thursday'
|
|
|
|
def test_zeller_38(self):
|
|
assert zeller(d=122, m=-716, y=-76) == 'Thursday'
|
|
|
|
def test_zeller_39(self):
|
|
assert zeller(d=-8, m=541, y=-76) == 'Sunday'
|
|
|
|
def test_zeller_40(self):
|
|
assert zeller(d=-435, m=895, y=71) == 'Monday'
|
|
|
|
def test_zeller_41(self):
|
|
assert zeller(d=407, m=-333, y=15) == 'Monday'
|
|
|
|
def test_zeller_42(self):
|
|
assert zeller(d=86, m=67, y=11) == 'Thursday'
|
|
|
|
def test_zeller_43(self):
|
|
assert zeller(d=-677, m=658, y=-63) == 'Wednesday'
|
|
|
|
def test_zeller_44(self):
|
|
assert zeller(d=-773, m=7, y=-95) == 'Sunday'
|
|
|
|
def test_zeller_45(self):
|
|
assert zeller(d=616, m=580, y=37) == 'Friday'
|
|
|
|
def test_zeller_46(self):
|
|
assert zeller(d=122, m=541, y=97) == 'Sunday'
|
|
|
|
def test_zeller_47(self):
|
|
assert zeller(d=326, m=229, y=60) == 'Wednesday'
|
|
|
|
def test_zeller_48(self):
|
|
assert zeller(d=107, m=484, y=-43) == 'Saturday'
|
|
|
|
def test_zeller_49(self):
|
|
assert zeller(d=-8, m=-951, y=-76) == 'Thursday'
|
|
|
|
def test_zeller_50(self):
|
|
assert zeller(d=-817, m=-423, y=15) == 'Sunday'
|
|
|
|
def test_zeller_51(self):
|
|
assert zeller(d=9, m=-433, y=-43) == 'Tuesday'
|
|
|
|
def test_zeller_52(self):
|
|
assert zeller(d=-932, m=-543, y=-34) == 'Tuesday'
|
|
|
|
def test_zeller_53(self):
|
|
assert zeller(d=-247, m=-255, y=28) == 'Tuesday'
|
|
|
|
def test_zeller_54(self):
|
|
assert zeller(d=-415, m=-393, y=15) == 'Tuesday'
|
|
|
|
def test_zeller_55(self):
|
|
assert zeller(d=-830, m=-415, y=71) == 'Wednesday'
|
|
|
|
def test_zeller_56(self):
|
|
assert zeller(d=-823, m=-616, y=-46) == 'Saturday'
|
|
|
|
def test_zeller_57(self):
|
|
assert zeller(d=107, m=-656, y=-43) == 'Wednesday'
|
|
|
|
def test_zeller_58(self):
|
|
assert zeller(d=111, m=365, y=37) == 'Saturday'
|
|
|
|
def test_zeller_59(self):
|
|
assert zeller(d=278, m=379, y=24) == 'Sunday'
|
|
|
|
def test_zeller_60(self):
|
|
assert zeller(d=247, m=2, y=48) == 'Tuesday'
|
|
|
|
def test_zeller_61(self):
|
|
assert zeller(d=805, m=-464, y=80) == 'Wednesday'
|
|
|
|
def test_zeller_62(self):
|
|
assert zeller(d=291, m=-215, y=47) == 'Saturday'
|
|
|
|
def test_zeller_63(self):
|
|
assert zeller(d=-69, m=-772, y=-2) == 'Wednesday'
|
|
|
|
def test_zeller_64(self):
|
|
assert zeller(d=756, m=-533, y=7) == 'Wednesday'
|
|
|
|
def test_zeller_65(self):
|
|
assert zeller(d=-69, m=522, y=-34) == 'Sunday'
|
|
|
|
def test_zeller_66(self):
|
|
assert zeller(d=-788, m=37, y=71) == 'Sunday'
|
|
|
|
def test_zeller_67(self):
|
|
assert zeller(d=413, m=-523, y=-43) == 'Wednesday'
|
|
|
|
def test_zeller_68(self):
|
|
assert zeller(d=-197, m=-896, y=48) == 'Sunday'
|
|
|
|
def test_zeller_69(self):
|
|
assert zeller(d=122, m=497, y=-76) == 'Wednesday'
|
|
|
|
def test_zeller_70(self):
|
|
assert zeller(d=-230, m=-366, y=-11) == 'Thursday'
|
|
|
|
def test_zeller_71(self):
|
|
assert zeller(d=-334, m=-945, y=81) == 'Sunday'
|
|
|
|
def test_zeller_72(self):
|
|
assert zeller(d=-541, m=-333, y=87) == 'Thursday'
|
|
|
|
def test_zeller_73(self):
|
|
assert zeller(d=-876, m=60, y=-99) == 'Saturday'
|
|
|
|
def test_zeller_74(self):
|
|
assert zeller(d=-693, m=-503, y=85) == 'Thursday'
|
|
|
|
def test_zeller_75(self):
|
|
assert zeller(d=-230, m=717, y=-11) == 'Friday'
|
|
|
|
def test_zeller_76(self):
|
|
assert zeller(d=-401, m=-732, y=64) == 'Thursday'
|
|
|
|
def test_zeller_77(self):
|
|
assert zeller(d=413, m=-656, y=-43) == 'Saturday'
|
|
|
|
def test_zeller_78(self):
|
|
assert zeller(d=659, m=-98, y=83) == 'Wednesday'
|
|
|
|
def test_zeller_79(self):
|
|
assert zeller(d=341, m=871, y=83) == 'Monday'
|
|
|
|
def test_zeller_80(self):
|
|
assert zeller(d=-154, m=-333, y=15) == 'Saturday'
|
|
|
|
def test_zeller_81(self):
|
|
assert zeller(d=-635, m=885, y=-87) == 'Friday'
|
|
|
|
def test_zeller_82(self):
|
|
assert zeller(d=516, m=-897, y=67) == 'Saturday'
|
|
|
|
def test_zeller_83(self):
|
|
assert zeller(d=336, m=281, y=-11) == 'Monday'
|
|
|
|
def test_zeller_84(self):
|
|
assert zeller(d=-160, m=-348, y=53) == 'Tuesday'
|
|
|
|
def test_zeller_85(self):
|
|
assert zeller(d=56, m=-656, y=-43) == 'Sunday'
|
|
|
|
def test_zeller_86(self):
|
|
assert zeller(d=-645, m=365, y=37) == 'Saturday'
|
|
|
|
def test_zeller_87(self):
|
|
assert zeller(d=-621, m=-905, y=56) == 'Saturday'
|
|
|
|
def test_zeller_88(self):
|
|
assert zeller(d=-893, m=-785, y=-13) == 'Wednesday'
|
|
|
|
def test_zeller_89(self):
|
|
assert zeller(d=138, m=964, y=17) == 'Monday'
|
|
|
|
def test_zeller_90(self):
|
|
assert zeller(d=-674, m=-1, y=24) == 'Thursday'
|
|
|
|
def test_zeller_91(self):
|
|
assert zeller(d=411, m=-351, y=-66) == 'Saturday'
|
|
|
|
def test_zeller_92(self):
|
|
assert zeller(d=669, m=-1, y=1) == 'Friday'
|
|
|
|
def test_zeller_93(self):
|
|
assert zeller(d=962, m=-681, y=-9) == 'Friday'
|
|
|
|
def test_zeller_94(self):
|
|
assert zeller(d=674, m=878, y=46) == 'Sunday'
|
|
|
|
def test_zeller_95(self):
|
|
assert zeller(d=-242, m=-333, y=15) == 'Monday'
|
|
|
|
def test_zeller_96(self):
|
|
assert zeller(d=191, m=-785, y=-13) == 'Thursday'
|
|
|
|
def test_zeller_97(self):
|
|
assert zeller(d=122, m=-925, y=97) == 'Sunday'
|
|
|
|
def test_zeller_98(self):
|
|
assert zeller(d=-437, m=-491, y=-11) == 'Sunday'
|
|
|
|
def test_zeller_99(self):
|
|
assert zeller(d=-230, m=238, y=-11) == 'Monday'
|
|
|
|
def test_zeller_100(self):
|
|
assert zeller(d=171, m=29, y=-90) == 'Sunday' |