2023-11-15 17:23:53 +00:00
|
|
|
from unittest import TestCase
|
|
|
|
|
|
|
|
from benchmark.check_armstrong import check_armstrong
|
|
|
|
|
|
|
|
|
|
|
|
class Test_check_armstrong(TestCase):
|
|
|
|
def test_check_armstrong_1(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=810) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_2(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=416) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_3(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=440) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_4(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=472) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_5(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=913) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_6(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=394) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_7(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=825) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_8(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=150) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_9(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=624) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_10(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=141) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_11(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=619) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_12(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=390) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_13(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=501) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_14(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=849) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_15(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=229) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_16(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=724) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_17(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=307) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_18(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=885) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_19(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=758) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_20(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=469) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_21(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=431) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_22(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=974) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_23(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=305) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_24(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=222) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_25(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=873) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_26(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=197) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_27(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=361) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_28(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=541) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_29(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=911) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_30(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=526) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_31(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=874) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_32(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=452) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_33(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=817) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_34(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=75) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_35(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=834) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_36(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=466) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_37(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=683) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_38(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=569) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_39(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=617) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_40(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=446) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_41(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=806) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_42(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=44) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_43(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=623) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_44(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=953) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_45(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=240) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_46(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=698) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_47(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=83) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_48(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=697) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_49(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=225) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_50(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=286) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_51(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=384) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_52(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=235) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_53(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=223) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_54(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=554) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_55(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=194) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_56(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=606) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_57(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=607) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_58(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=167) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_59(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=684) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_60(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=497) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_61(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=938) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_62(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=771) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_63(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=278) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_64(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=489) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_65(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=112) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_66(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=822) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_67(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=299) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_68(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=251) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_69(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=143) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_70(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=339) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_71(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=192) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_72(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=877) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_73(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=830) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_74(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=515) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_75(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=161) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_76(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=375) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_77(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=740) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_78(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=491) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_79(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=89) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_80(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=321) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_81(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=418) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_82(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=840) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_83(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=746) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_84(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=875) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_85(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=290) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_86(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=779) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_87(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=33) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_88(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=801) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_89(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=236) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_90(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=275) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_91(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=914) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_92(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=992) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_93(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=295) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_94(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=380) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_95(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=695) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_96(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=630) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_97(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=411) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_98(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=443) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_99(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=317) == False
|
2023-11-15 17:23:53 +00:00
|
|
|
|
|
|
|
def test_check_armstrong_100(self):
|
2023-12-09 10:56:23 +00:00
|
|
|
assert check_armstrong(n=130) == False
|