aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-06-28 14:34:01 +0200
committerAbigail <abigail@abigail.be>2021-06-28 14:34:01 +0200
commitd14669a0f60a4846ad4bbd5ed5c6a195302a1e50 (patch)
tree4e9100d4050b8af0696df708c30c28de894d3764
parent11bae939a51df66cf9f8699cf508179b24efe995 (diff)
downloadperlweeklychallenge-club-d14669a0f60a4846ad4bbd5ed5c6a195302a1e50.tar.gz
perlweeklychallenge-club-d14669a0f60a4846ad4bbd5ed5c6a195302a1e50.tar.bz2
perlweeklychallenge-club-d14669a0f60a4846ad4bbd5ed5c6a195302a1e50.zip
Tests for week 119
-rw-r--r--challenge-119/abigail/t/ctest.ini9
-rw-r--r--challenge-119/abigail/t/input-1-12
-rw-r--r--challenge-119/abigail/t/input-1-2255
-rw-r--r--challenge-119/abigail/t/input-2-13
-rw-r--r--challenge-119/abigail/t/output-1-1.exp2
-rw-r--r--challenge-119/abigail/t/output-1-2.exp255
-rw-r--r--challenge-119/abigail/t/output-2-1.exp3
7 files changed, 529 insertions, 0 deletions
diff --git a/challenge-119/abigail/t/ctest.ini b/challenge-119/abigail/t/ctest.ini
new file mode 100644
index 0000000000..204106ba9b
--- /dev/null
+++ b/challenge-119/abigail/t/ctest.ini
@@ -0,0 +1,9 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given Examples
+1-2 = First 255 positive integers
+2-1 = Given Examples
diff --git a/challenge-119/abigail/t/input-1-1 b/challenge-119/abigail/t/input-1-1
new file mode 100644
index 0000000000..1229000578
--- /dev/null
+++ b/challenge-119/abigail/t/input-1-1
@@ -0,0 +1,2 @@
+101
+18
diff --git a/challenge-119/abigail/t/input-1-2 b/challenge-119/abigail/t/input-1-2
new file mode 100644
index 0000000000..99f18623a6
--- /dev/null
+++ b/challenge-119/abigail/t/input-1-2
@@ -0,0 +1,255 @@
+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
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+195
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
diff --git a/challenge-119/abigail/t/input-2-1 b/challenge-119/abigail/t/input-2-1
new file mode 100644
index 0000000000..560f341e8e
--- /dev/null
+++ b/challenge-119/abigail/t/input-2-1
@@ -0,0 +1,3 @@
+5
+10
+60
diff --git a/challenge-119/abigail/t/output-1-1.exp b/challenge-119/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..cbd4873751
--- /dev/null
+++ b/challenge-119/abigail/t/output-1-1.exp
@@ -0,0 +1,2 @@
+86
+33
diff --git a/challenge-119/abigail/t/output-1-2.exp b/challenge-119/abigail/t/output-1-2.exp
new file mode 100644
index 0000000000..f068303694
--- /dev/null
+++ b/challenge-119/abigail/t/output-1-2.exp
@@ -0,0 +1,255 @@
+16
+32
+48
+64
+80
+96
+112
+128
+144
+160
+176
+192
+208
+224
+240
+1
+17
+33
+49
+65
+81
+97
+113
+129
+145
+161
+177
+193
+209
+225
+241
+2
+18
+34
+50
+66
+82
+98
+114
+130
+146
+162
+178
+194
+210
+226
+242
+3
+19
+35
+51
+67
+83
+99
+115
+131
+147
+163
+179
+195
+211
+227
+243
+4
+20
+36
+52
+68
+84
+100
+116
+132
+148
+164
+180
+196
+212
+228
+244
+5
+21
+37
+53
+69
+85
+101
+117
+133
+149
+165
+181
+197
+213
+229
+245
+6
+22
+38
+54
+70
+86
+102
+118
+134
+150
+166
+182
+198
+214
+230
+246
+7
+23
+39
+55
+71
+87
+103
+119
+135
+151
+167
+183
+199
+215
+231
+247
+8
+24
+40
+56
+72
+88
+104
+120
+136
+152
+168
+184
+200
+216
+232
+248
+9
+25
+41
+57
+73
+89
+105
+121
+137
+153
+169
+185
+201
+217
+233
+249
+10
+26
+42
+58
+74
+90
+106
+122
+138
+154
+170
+186
+202
+218
+234
+250
+11
+27
+43
+59
+75
+91
+107
+123
+139
+155
+171
+187
+203
+219
+235
+251
+12
+28
+44
+60
+76
+92
+108
+124
+140
+156
+172
+188
+204
+220
+236
+252
+13
+29
+45
+61
+77
+93
+109
+125
+141
+157
+173
+189
+205
+221
+237
+253
+14
+30
+46
+62
+78
+94
+110
+126
+142
+158
+174
+190
+206
+222
+238
+254
+15
+31
+47
+63
+79
+95
+111
+127
+143
+159
+175
+191
+207
+223
+239
+255
diff --git a/challenge-119/abigail/t/output-2-1.exp b/challenge-119/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..6e45ad6376
--- /dev/null
+++ b/challenge-119/abigail/t/output-2-1.exp
@@ -0,0 +1,3 @@
+13
+32
+2223