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/cd_count_instrumented.py

305 lines
7.6 KiB
Python
Raw Normal View History

2023-11-15 17:23:53 +00:00
from unittest import TestCase
from benchmark.common_divisor_count import cd_count
class Test_cd_count(TestCase):
def test_cd_count_1(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-750, b=879) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_2(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-998, b=763) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_3(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-64, b=55) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_4(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-298, b=-790) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_5(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=829, b=830) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_6(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-973, b=220) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_7(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=872, b=55) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_8(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=348, b=-251) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_9(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=544, b=-783) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_10(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-685, b=-824) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_11(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=875, b=735) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_12(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-546, b=700) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_13(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-482, b=843) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_14(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=930, b=-853) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_15(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-1000, b=786) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_16(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=701, b=-63) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_17(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-974, b=-9) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_18(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=162, b=-399) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_19(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=792, b=400) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_20(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=656, b=-516) == 3
2023-11-15 17:23:53 +00:00
def test_cd_count_21(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-544, b=731) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_22(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=512, b=788) == 3
2023-11-15 17:23:53 +00:00
def test_cd_count_23(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=878, b=-899) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_24(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=16, b=792) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_25(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=117, b=-9) == 3
2023-11-15 17:23:53 +00:00
def test_cd_count_26(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-693, b=770) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_27(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-331, b=-615) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_28(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=417, b=-884) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_29(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=327, b=-159) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_30(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-618, b=-665) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_31(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=409, b=-668) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_32(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-713, b=-192) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_33(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-582, b=-455) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_34(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=930, b=-706) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_35(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-668, b=630) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_36(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-505, b=-14) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_37(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=819, b=-291) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_38(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-834, b=-422) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_39(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=466, b=722) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_40(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=125, b=304) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_41(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-602, b=221) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_42(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=22, b=259) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_43(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=671, b=-530) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_44(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-67, b=557) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_45(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=10, b=920) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_46(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=459, b=-956) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_47(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=845, b=-377) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_48(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-531, b=-413) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_49(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=820, b=-58) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_50(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=769, b=-410) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_51(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-262, b=394) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_52(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-961, b=-140) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_53(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=960, b=-6) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_54(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-808, b=792) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_55(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-28, b=669) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_56(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=277, b=228) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_57(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-693, b=-144) == 3
2023-11-15 17:23:53 +00:00
def test_cd_count_58(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=125, b=994) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_59(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-532, b=-342) == 4
2023-11-15 17:23:53 +00:00
def test_cd_count_60(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-162, b=-266) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_61(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-561, b=219) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_62(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-96, b=819) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_63(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=380, b=372) == 3
2023-11-15 17:23:53 +00:00
def test_cd_count_64(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=439, b=-276) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_65(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=377, b=-874) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_66(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-532, b=-501) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_67(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=329, b=-487) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_68(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=203, b=-883) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_69(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=757, b=-958) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_70(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-86, b=-929) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_71(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-181, b=-231) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_72(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=712, b=-241) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_73(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-583, b=542) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_74(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=151, b=-334) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_75(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=987, b=879) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_76(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=328, b=546) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_77(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=347, b=-337) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_78(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=10, b=-46) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_79(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-959, b=702) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_80(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=96, b=321) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_81(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-1000, b=-865) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_82(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-781, b=-808) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_83(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-593, b=-963) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_84(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=376, b=230) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_85(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=791, b=587) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_86(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-737, b=327) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_87(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=923, b=-475) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_88(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=446, b=-611) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_89(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=505, b=24) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_90(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=466, b=736) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_91(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-555, b=451) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_92(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-512, b=-495) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_93(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-783, b=590) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_94(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=327, b=321) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_95(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-67, b=-419) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_96(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-477, b=-58) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_97(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-320, b=-895) == 2
2023-11-15 17:23:53 +00:00
def test_cd_count_98(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-211, b=-192) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_99(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=-473, b=925) == 1
2023-11-15 17:23:53 +00:00
def test_cd_count_100(self):
2023-12-09 10:56:23 +00:00
assert cd_count(a=898, b=-9) == 1