forked from aeonstasis/life-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfem392-TestLife.out
341 lines (274 loc) · 9.57 KB
/
fem392-TestLife.out
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
==6216== Memcheck, a memory error detector
==6216== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==6216== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==6216== Command: ./TestLife
==6216==
Running main() from gtest_main.cc
[==========] Running 67 tests from 15 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from ConwayCell_const
[ RUN ] ConwayCell_const.test_1
[ OK ] ConwayCell_const.test_1 (9 ms)
[ RUN ] ConwayCell_const.test_2
[ OK ] ConwayCell_const.test_2 (2 ms)
[ RUN ] ConwayCell_const.test_3
[ OK ] ConwayCell_const.test_3 (2 ms)
[ RUN ] ConwayCell_const.test_4
[ OK ] ConwayCell_const.test_4 (2 ms)
[----------] 4 tests from ConwayCell_const (21 ms total)
[----------] 4 tests from FredkinCell_const
[ RUN ] FredkinCell_const.test_1
[ OK ] FredkinCell_const.test_1 (3 ms)
[ RUN ] FredkinCell_const.test_2
[ OK ] FredkinCell_const.test_2 (2 ms)
[ RUN ] FredkinCell_const.test_3
[ OK ] FredkinCell_const.test_3 (2 ms)
[ RUN ] FredkinCell_const.test_4
[ OK ] FredkinCell_const.test_4 (2 ms)
[----------] 4 tests from FredkinCell_const (9 ms total)
[----------] 4 tests from AbstractCell_const
[ RUN ] AbstractCell_const.test_1
[ OK ] AbstractCell_const.test_1 (3 ms)
[ RUN ] AbstractCell_const.test_2
[ OK ] AbstractCell_const.test_2 (2 ms)
[ RUN ] AbstractCell_const.test_3
[ OK ] AbstractCell_const.test_3 (2 ms)
[ RUN ] AbstractCell_const.test_4
[ OK ] AbstractCell_const.test_4 (3 ms)
[----------] 4 tests from AbstractCell_const (11 ms total)
[----------] 3 tests from ConwayCell_print
[ RUN ] ConwayCell_print.test_1
[ OK ] ConwayCell_print.test_1 (7 ms)
[ RUN ] ConwayCell_print.test_2
[ OK ] ConwayCell_print.test_2 (3 ms)
[ RUN ] ConwayCell_print.test_3
[ OK ] ConwayCell_print.test_3 (3 ms)
[----------] 3 tests from ConwayCell_print (13 ms total)
[----------] 3 tests from FredkinCell_print
[ RUN ] FredkinCell_print.test_1
[ OK ] FredkinCell_print.test_1 (3 ms)
[ RUN ] FredkinCell_print.test_2
[ OK ] FredkinCell_print.test_2 (3 ms)
[ RUN ] FredkinCell_print.test_3
[ OK ] FredkinCell_print.test_3 (3 ms)
[----------] 3 tests from FredkinCell_print (9 ms total)
[----------] 4 tests from AbstractCell_print
[ RUN ] AbstractCell_print.test_1
[ OK ] AbstractCell_print.test_1 (3 ms)
[ RUN ] AbstractCell_print.test_2
[ OK ] AbstractCell_print.test_2 (3 ms)
[ RUN ] AbstractCell_print.test_3
[ OK ] AbstractCell_print.test_3 (3 ms)
[ RUN ] AbstractCell_print.test_4
[ OK ] AbstractCell_print.test_4 (4 ms)
[----------] 4 tests from AbstractCell_print (13 ms total)
[----------] 4 tests from ConwayCell_change
[ RUN ] ConwayCell_change.test_1
[ OK ] ConwayCell_change.test_1 (26 ms)
[ RUN ] ConwayCell_change.test_2
[ OK ] ConwayCell_change.test_2 (3 ms)
[ RUN ] ConwayCell_change.test_3
[ OK ] ConwayCell_change.test_3 (4 ms)
[ RUN ] ConwayCell_change.test_4
[ OK ] ConwayCell_change.test_4 (3 ms)
[----------] 4 tests from ConwayCell_change (37 ms total)
[----------] 5 tests from FredkinCell_change
[ RUN ] FredkinCell_change.test_1
[ OK ] FredkinCell_change.test_1 (4 ms)
[ RUN ] FredkinCell_change.test_2
[ OK ] FredkinCell_change.test_2 (3 ms)
[ RUN ] FredkinCell_change.test_3
[ OK ] FredkinCell_change.test_3 (5 ms)
[ RUN ] FredkinCell_change.test_4
[ OK ] FredkinCell_change.test_4 (4 ms)
[ RUN ] FredkinCell_change.test_5
[ OK ] FredkinCell_change.test_5 (4 ms)
[----------] 5 tests from FredkinCell_change (21 ms total)
[----------] 4 tests from AbstractCell_change
[ RUN ] AbstractCell_change.test_1
[ OK ] AbstractCell_change.test_1 (4 ms)
[ RUN ] AbstractCell_change.test_2
[ OK ] AbstractCell_change.test_2 (4 ms)
[ RUN ] AbstractCell_change.test_3
[ OK ] AbstractCell_change.test_3 (3 ms)
[ RUN ] AbstractCell_change.test_4
[ OK ] AbstractCell_change.test_4 (4 ms)
[----------] 4 tests from AbstractCell_change (16 ms total)
[----------] 4 tests from ConwayCell_place
[ RUN ] ConwayCell_place.test_1
[ OK ] ConwayCell_place.test_1 (6 ms)
[ RUN ] ConwayCell_place.test_2
[ OK ] ConwayCell_place.test_2 (3 ms)
[ RUN ] ConwayCell_place.test_3
[ OK ] ConwayCell_place.test_3 (3 ms)
[ RUN ] ConwayCell_place.test_4
[ OK ] ConwayCell_place.test_4 (4 ms)
[----------] 4 tests from ConwayCell_place (17 ms total)
[----------] 4 tests from FredkinCell_place
[ RUN ] FredkinCell_place.test_1
[ OK ] FredkinCell_place.test_1 (4 ms)
[ RUN ] FredkinCell_place.test_2
[ OK ] FredkinCell_place.test_2 (3 ms)
[ RUN ] FredkinCell_place.test_3
[ OK ] FredkinCell_place.test_3 (3 ms)
[ RUN ] FredkinCell_place.test_4
[ OK ] FredkinCell_place.test_4 (4 ms)
[----------] 4 tests from FredkinCell_place (15 ms total)
[----------] 4 tests from ConwayCell_clone
[ RUN ] ConwayCell_clone.test_1
[ OK ] ConwayCell_clone.test_1 (6 ms)
[ RUN ] ConwayCell_clone.test_2
[ OK ] ConwayCell_clone.test_2 (4 ms)
[ RUN ] ConwayCell_clone.test_3
[ OK ] ConwayCell_clone.test_3 (4 ms)
[ RUN ] ConwayCell_clone.test_4
[ OK ] ConwayCell_clone.test_4 (4 ms)
[----------] 4 tests from ConwayCell_clone (18 ms total)
[----------] 4 tests from FredkinCell_clone
[ RUN ] FredkinCell_clone.test_1
[ OK ] FredkinCell_clone.test_1 (4 ms)
[ RUN ] FredkinCell_clone.test_2
[ OK ] FredkinCell_clone.test_2 (4 ms)
[ RUN ] FredkinCell_clone.test_3
[ OK ] FredkinCell_clone.test_3 (4 ms)
[ RUN ] FredkinCell_clone.test_4
[ OK ] FredkinCell_clone.test_4 (4 ms)
[----------] 4 tests from FredkinCell_clone (17 ms total)
[----------] 12 tests from Life_simulator
[ RUN ] Life_simulator.test_1
Generation = 0, Population = 0.
.............
.............
[ OK ] Life_simulator.test_1 (79 ms)
[ RUN ] Life_simulator.test_2
Generation = 0, Population = 0.
..........
Generation = 1, Population = 0.
..........
[ OK ] Life_simulator.test_2 (5 ms)
[ RUN ] Life_simulator.test_3
Generation = 0, Population = 0.
.............
.............
Generation = 4, Population = 0.
.............
.............
[ OK ] Life_simulator.test_3 (8 ms)
[ RUN ] Life_simulator.test_4
Generation = 0, Population = 9.
.....*.*..***
.....***..*..
Generation = 4, Population = 4.
..........**.
..........**.
[ OK ] Life_simulator.test_4 (10 ms)
[ RUN ] Life_simulator.test_5
Generation = 0, Population = 0.
--------------------
--------------------
[ OK ] Life_simulator.test_5 (34 ms)
[ RUN ] Life_simulator.test_6
Generation = 0, Population = 0.
----------
[ OK ] Life_simulator.test_6 (4 ms)
[ RUN ] Life_simulator.test_7
Generation = 0, Population = 10.
-----0000---0
----0000----0
Generation = 4, Population = 20.
-0002111-3-0-
01211111-2-11
[ OK ] Life_simulator.test_7 (35 ms)
[ RUN ] Life_simulator.test_8
Generation = 0, Population = 5.
-----
--0--
-000-
--0--
-----
Generation = 4, Population = 16.
-232-
2-4-2
34-43
2-4-2
-232-
[ OK ] Life_simulator.test_8 (8 ms)
[ RUN ] Life_simulator.test_9
Generation = 0, Population = 0.
-------------
-------------
Generation = 4, Population = 0.
-------------
-------------
[ OK ] Life_simulator.test_9 (70 ms)
[ RUN ] Life_simulator.test_10
Generation = 0, Population = 0.
-------------
-------------
Generation = 4, Population = 0.
-------------
-------------
[ OK ] Life_simulator.test_10 (11 ms)
[ RUN ] Life_simulator.test_11
Generation = 0, Population = 0.
--------------------
--------------------
[ OK ] Life_simulator.test_11 (5 ms)
[ RUN ] Life_simulator.test_12
Generation = 0, Population = 0.
----------
[ OK ] Life_simulator.test_12 (4 ms)
[----------] 12 tests from Life_simulator (274 ms total)
[----------] 4 tests from Life_generation
[ RUN ] Life_generation.test_1
Generation = 0, Population = 0.
.............
.............
[ OK ] Life_generation.test_1 (7 ms)
[ RUN ] Life_generation.test_2
Generation = 0, Population = 0.
..........
Generation = 1, Population = 0.
..........
[ OK ] Life_generation.test_2 (5 ms)
[ RUN ] Life_generation.test_3
Generation = 0, Population = 0.
.............
.............
Generation = 4, Population = 0.
.............
.............
[ OK ] Life_generation.test_3 (10 ms)
[ RUN ] Life_generation.test_4
Generation = 0, Population = 9.
.....*.*..***
.....***..*..
Generation = 4, Population = 4.
..........**.
..........**.
[ OK ] Life_generation.test_4 (9 ms)
[----------] 4 tests from Life_generation (32 ms total)
[----------] Global test environment tear-down
[==========] 67 tests from 15 test cases ran. (555 ms total)
[ PASSED ] 67 tests.
==6216==
==6216== HEAP SUMMARY:
==6216== in use at exit: 0 bytes in 0 blocks
==6216== total heap usage: 3,677 allocs, 3,677 frees, 332,390 bytes allocated
==6216==
==6216== All heap blocks were freed -- no leaks are possible
==6216==
==6216== For counts of detected and suppressed errors, rerun with: -v
==6216== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Life.h'
Lines executed:95.57% of 158
Branches executed:96.24% of 426
Taken at least once:63.85% of 426
Calls executed:89.18% of 388
Creating 'Life.h.gcov'
File 'TestLife.c++'
Lines executed:100.00% of 627
Branches executed:79.21% of 2578
Taken at least once:40.38% of 2578
Calls executed:61.74% of 2870
Creating 'TestLife.c++.gcov'