-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_project_euler.py
107 lines (105 loc) · 3.47 KB
/
test_project_euler.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import project_euler
def test_problem_1():
assert project_euler.problem_1() == 233168
def test_problem_2():
assert project_euler.problem_2() == 4613732
def test_problem_3():
assert project_euler.problem_3() == 6857
def test_problem_4():
assert project_euler.problem_4() == 906609
def test_problem_5():
assert project_euler.problem_5() == 232792560
def test_problem_6():
assert project_euler.problem_6() == 25164150
def test_problem_7():
assert project_euler.problem_7() == 104743
def test_problem_8():
assert project_euler.problem_8() == 40824
def test_problem_9():
assert project_euler.problem_9() == 31875000
def test_problem_10():
assert project_euler.problem_10() == 142913828922
def test_problem_11():
assert project_euler.problem_11() == 70600674
def test_problem_12():
assert project_euler.problem_12() == 76576500
def test_problem_13():
assert project_euler.problem_13() == 5537376230
def test_problem_14():
assert project_euler.problem_14() == 837799
def test_problem_15():
assert project_euler.problem_15() == 137846528820
def test_problem_16():
assert project_euler.problem_16() == 1366
def test_problem_17():
assert project_euler.problem_17() == 21124
def test_problem_18():
assert project_euler.problem_18() == 1074
def test_problem_19():
assert project_euler.problem_19() == 171
def test_problem_20():
assert project_euler.problem_20() == 648
def test_problem_21():
assert project_euler.problem_21() == 31626
def test_problem_22():
assert project_euler.problem_22() == 871198282
def test_problem_23():
assert project_euler.problem_23() == 4179871
def test_problem_25():
assert project_euler.problem_25() == 4782
def test_problem_26():
assert project_euler.problem_26() == 983
def test_problem_27():
assert project_euler.problem_27() == -59231
def test_problem_28():
assert project_euler.problem_28() == 669171001
def test_problem_29():
assert project_euler.problem_29() == 9183
def test_problem_30():
assert project_euler.problem_30() == 443839
def test_problem_31():
assert project_euler.problem_31() == 73682
def test_problem_32():
assert project_euler.problem_32() == 45228
def test_problem_33():
assert project_euler.problem_33() == 100
def test_problem_34():
assert project_euler.problem_34() == 40730
def test_problem_35():
assert project_euler.problem_35() == 55
def test_problem_36():
assert project_euler.problem_36() == 872187
def test_problem_37():
assert project_euler.problem_37() == 748317
def test_problem_38():
assert project_euler.problem_38() == 932718654
def test_problem_39():
assert project_euler.problem_39() == 840
def test_problem_40():
assert project_euler.problem_40() == 210
def test_problem_41():
assert project_euler.problem_41() == 7652413
def test_problem_42():
assert project_euler.problem_42() == 162
def test_problem_43():
assert project_euler.problem_43() == 16695334890
def test_problem_44():
assert project_euler.problem_44() == 5482660
def test_problem_45():
assert project_euler.problem_45() == 1533776805
def test_problem_46():
assert project_euler.problem_46() == 5777
def test_problem_47():
assert project_euler.problem_47() == 134043
def test_problem_48():
assert project_euler.problem_48() == 9110846700
def test_problem_49():
assert project_euler.problem_49() == 296962999629
def test_problem_50():
assert project_euler.problem_50() == 997651
def test_problem_52():
assert project_euler.problem_52() == 142857
def test_problem_53():
assert project_euler.problem_53() == 4075
def test_problem_67():
assert project_euler.problem_67() == 7273