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/gcd_instrumented.py
2023-12-09 11:56:23 +01:00

305 lines
No EOL
6.5 KiB
Python

from unittest import TestCase
from benchmark.gcd import gcd
class Test_gcd(TestCase):
def test_gcd_1(self):
assert gcd(a=829, b=830) == 1
def test_gcd_2(self):
assert gcd(a=505, b=952) == 1
def test_gcd_3(self):
assert gcd(a=30, b=553) == 1
def test_gcd_4(self):
assert gcd(a=813, b=867) == 3
def test_gcd_5(self):
assert gcd(a=250, b=967) == 1
def test_gcd_6(self):
assert gcd(a=20, b=316) == 4
def test_gcd_7(self):
assert gcd(a=724, b=730) == 2
def test_gcd_8(self):
assert gcd(a=505, b=270) == 5
def test_gcd_9(self):
assert gcd(a=67, b=461) == 1
def test_gcd_10(self):
assert gcd(a=434, b=948) == 2
def test_gcd_11(self):
assert gcd(a=262, b=926) == 2
def test_gcd_12(self):
assert gcd(a=606, b=904) == 2
def test_gcd_13(self):
assert gcd(a=672, b=971) == 1
def test_gcd_14(self):
assert gcd(a=608, b=499) == 1
def test_gcd_15(self):
assert gcd(a=375, b=876) == 3
def test_gcd_16(self):
assert gcd(a=44, b=728) == 4
def test_gcd_17(self):
assert gcd(a=499, b=663) == 1
def test_gcd_18(self):
assert gcd(a=137, b=617) == 1
def test_gcd_19(self):
assert gcd(a=910, b=867) == 1
def test_gcd_20(self):
assert gcd(a=991, b=191) == 1
def test_gcd_21(self):
assert gcd(a=180, b=535) == 5
def test_gcd_22(self):
assert gcd(a=809, b=88) == 1
def test_gcd_23(self):
assert gcd(a=708, b=429) == 3
def test_gcd_24(self):
assert gcd(a=342, b=530) == 2
def test_gcd_25(self):
assert gcd(a=17, b=726) == 1
def test_gcd_26(self):
assert gcd(a=167, b=760) == 1
def test_gcd_27(self):
assert gcd(a=929, b=345) == 1
def test_gcd_28(self):
assert gcd(a=639, b=726) == 3
def test_gcd_29(self):
assert gcd(a=99, b=658) == 1
def test_gcd_30(self):
assert gcd(a=523, b=488) == 1
def test_gcd_31(self):
assert gcd(a=364, b=503) == 1
def test_gcd_32(self):
assert gcd(a=826, b=765) == 1
def test_gcd_33(self):
assert gcd(a=53, b=492) == 1
def test_gcd_34(self):
assert gcd(a=459, b=293) == 1
def test_gcd_35(self):
assert gcd(a=64, b=209) == 1
def test_gcd_36(self):
assert gcd(a=435, b=98) == 1
def test_gcd_37(self):
assert gcd(a=810, b=131) == 1
def test_gcd_38(self):
assert gcd(a=724, b=722) == 2
def test_gcd_39(self):
assert gcd(a=294, b=596) == 2
def test_gcd_40(self):
assert gcd(a=608, b=325) == 1
def test_gcd_41(self):
assert gcd(a=348, b=221) == 1
def test_gcd_42(self):
assert gcd(a=435, b=535) == 5
def test_gcd_43(self):
assert gcd(a=945, b=301) == 7
def test_gcd_44(self):
assert gcd(a=527, b=701) == 1
def test_gcd_45(self):
assert gcd(a=30, b=464) == 2
def test_gcd_46(self):
assert gcd(a=370, b=103) == 1
def test_gcd_47(self):
assert gcd(a=831, b=710) == 1
def test_gcd_48(self):
assert gcd(a=999, b=894) == 3
def test_gcd_49(self):
assert gcd(a=100, b=504) == 4
def test_gcd_50(self):
assert gcd(a=944, b=357) == 1
def test_gcd_51(self):
assert gcd(a=380, b=166) == 2
def test_gcd_52(self):
assert gcd(a=292, b=362) == 2
def test_gcd_53(self):
assert gcd(a=805, b=209) == 1
def test_gcd_54(self):
assert gcd(a=586, b=417) == 1
def test_gcd_55(self):
assert gcd(a=121, b=726) == 121
def test_gcd_56(self):
assert gcd(a=999, b=467) == 1
def test_gcd_57(self):
assert gcd(a=570, b=393) == 3
def test_gcd_58(self):
assert gcd(a=968, b=464) == 8
def test_gcd_59(self):
assert gcd(a=542, b=901) == 1
def test_gcd_60(self):
assert gcd(a=573, b=303) == 3
def test_gcd_61(self):
assert gcd(a=898, b=88) == 2
def test_gcd_62(self):
assert gcd(a=153, b=876) == 3
def test_gcd_63(self):
assert gcd(a=144, b=329) == 1
def test_gcd_64(self):
assert gcd(a=334, b=260) == 2
def test_gcd_65(self):
assert gcd(a=722, b=108) == 2
def test_gcd_66(self):
assert gcd(a=546, b=445) == 1
def test_gcd_67(self):
assert gcd(a=561, b=154) == 11
def test_gcd_68(self):
assert gcd(a=955, b=931) == 1
def test_gcd_69(self):
assert gcd(a=982, b=450) == 2
def test_gcd_70(self):
assert gcd(a=656, b=193) == 1
def test_gcd_71(self):
assert gcd(a=578, b=901) == 17
def test_gcd_72(self):
assert gcd(a=524, b=663) == 1
def test_gcd_73(self):
assert gcd(a=272, b=314) == 2
def test_gcd_74(self):
assert gcd(a=444, b=876) == 12
def test_gcd_75(self):
assert gcd(a=624, b=707) == 1
def test_gcd_76(self):
assert gcd(a=525, b=963) == 3
def test_gcd_77(self):
assert gcd(a=929, b=892) == 1
def test_gcd_78(self):
assert gcd(a=208, b=418) == 2
def test_gcd_79(self):
assert gcd(a=434, b=846) == 2
def test_gcd_80(self):
assert gcd(a=813, b=715) == 1
def test_gcd_81(self):
assert gcd(a=180, b=352) == 4
def test_gcd_82(self):
assert gcd(a=693, b=370) == 1
def test_gcd_83(self):
assert gcd(a=908, b=263) == 1
def test_gcd_84(self):
assert gcd(a=247, b=737) == 1
def test_gcd_85(self):
assert gcd(a=304, b=102) == 2
def test_gcd_86(self):
assert gcd(a=202, b=899) == 1
def test_gcd_87(self):
assert gcd(a=417, b=230) == 1
def test_gcd_88(self):
assert gcd(a=642, b=271) == 1
def test_gcd_89(self):
assert gcd(a=355, b=120) == 5
def test_gcd_90(self):
assert gcd(a=323, b=150) == 1
def test_gcd_91(self):
assert gcd(a=414, b=598) == 46
def test_gcd_92(self):
assert gcd(a=791, b=429) == 1
def test_gcd_93(self):
assert gcd(a=968, b=93) == 1
def test_gcd_94(self):
assert gcd(a=820, b=504) == 4
def test_gcd_95(self):
assert gcd(a=24, b=195) == 3
def test_gcd_96(self):
assert gcd(a=295, b=521) == 1
def test_gcd_97(self):
assert gcd(a=758, b=190) == 2
def test_gcd_98(self):
assert gcd(a=91, b=99) == 1
def test_gcd_99(self):
assert gcd(a=89, b=765) == 1
def test_gcd_100(self):
assert gcd(a=17, b=427) == 1