forked from aeonstasis/life-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjgm2488-TestLife.out
105 lines (102 loc) · 4.37 KB
/
jgm2488-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
==2177== Memcheck, a memory error detector
==2177== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==2177== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==2177== Command: ./TestLife
==2177==
Running main() from gtest_main.cc
[==========] Running 29 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from ConwayCellFixture
[ RUN ] ConwayCellFixture.construct_alive
[ OK ] ConwayCellFixture.construct_alive (13 ms)
[ RUN ] ConwayCellFixture.construct_dead
[ OK ] ConwayCellFixture.construct_dead (2 ms)
[ RUN ] ConwayCellFixture.construct2_1
[ OK ] ConwayCellFixture.construct2_1 (4 ms)
[ RUN ] ConwayCellFixture.construct2_2
[ OK ] ConwayCellFixture.construct2_2 (2 ms)
[----------] 4 tests from ConwayCellFixture (39 ms total)
[----------] 8 tests from FredkinCellFixture
[ RUN ] FredkinCellFixture.construct_alive
[ OK ] FredkinCellFixture.construct_alive (3 ms)
[ RUN ] FredkinCellFixture.construct_dead
[ OK ] FredkinCellFixture.construct_dead (3 ms)
[ RUN ] FredkinCellFixture.construct_age1
[ OK ] FredkinCellFixture.construct_age1 (3 ms)
[ RUN ] FredkinCellFixture.construct_age2
[ OK ] FredkinCellFixture.construct_age2 (3 ms)
[ RUN ] FredkinCellFixture.construct_age3
[ OK ] FredkinCellFixture.construct_age3 (3 ms)
[ RUN ] FredkinCellFixture.state1
[ OK ] FredkinCellFixture.state1 (2 ms)
[ RUN ] FredkinCellFixture.state2
[ OK ] FredkinCellFixture.state2 (3 ms)
[ RUN ] FredkinCellFixture.state3
[ OK ] FredkinCellFixture.state3 (3 ms)
[----------] 8 tests from FredkinCellFixture (33 ms total)
[----------] 17 tests from LifeFixture
[ RUN ] LifeFixture.2arg_constructor1
[ OK ] LifeFixture.2arg_constructor1 (97 ms)
[ RUN ] LifeFixture.2arg_constructor2
[ OK ] LifeFixture.2arg_constructor2 (4 ms)
[ RUN ] LifeFixture.2arg_constructor3
[ OK ] LifeFixture.2arg_constructor3 (4 ms)
[ RUN ] LifeFixture.input_constructor1
[ OK ] LifeFixture.input_constructor1 (38 ms)
[ RUN ] LifeFixture.input_constructor2
[ OK ] LifeFixture.input_constructor2 (14 ms)
[ RUN ] LifeFixture.input_constructor3
[ OK ] LifeFixture.input_constructor3 (5 ms)
[ RUN ] LifeFixture.input_constructor4
[ OK ] LifeFixture.input_constructor4 (9 ms)
[ RUN ] LifeFixture.play_conway_empty
[ OK ] LifeFixture.play_conway_empty (36 ms)
[ RUN ] LifeFixture.play_conway1
[ OK ] LifeFixture.play_conway1 (5 ms)
[ RUN ] LifeFixture.play_conway2
[ OK ] LifeFixture.play_conway2 (9 ms)
[ RUN ] LifeFixture.play_fredkin_empty
[ OK ] LifeFixture.play_fredkin_empty (79 ms)
[ RUN ] LifeFixture.play_fredkin1
[ OK ] LifeFixture.play_fredkin1 (7 ms)
[ RUN ] LifeFixture.play_fredkin2
[ OK ] LifeFixture.play_fredkin2 (8 ms)
[ RUN ] LifeFixture.play_cell_empty
[ OK ] LifeFixture.play_cell_empty (68 ms)
[ RUN ] LifeFixture.play_cell1
[ OK ] LifeFixture.play_cell1 (6 ms)
[ RUN ] LifeFixture.play_cell2
[ OK ] LifeFixture.play_cell2 (7 ms)
[ RUN ] LifeFixture.play_cell3
[ OK ] LifeFixture.play_cell3 (10 ms)
[----------] 17 tests from LifeFixture (431 ms total)
[----------] Global test environment tear-down
[==========] 29 tests from 3 test cases ran. (561 ms total)
[ PASSED ] 29 tests.
==2177==
==2177== HEAP SUMMARY:
==2177== in use at exit: 75,168 bytes in 155 blocks
==2177== total heap usage: 1,900 allocs, 1,745 frees, 210,224 bytes allocated
==2177==
==2177== LEAK SUMMARY:
==2177== definitely lost: 2,464 bytes in 154 blocks
==2177== indirectly lost: 0 bytes in 0 blocks
==2177== possibly lost: 0 bytes in 0 blocks
==2177== still reachable: 72,704 bytes in 1 blocks
==2177== suppressed: 0 bytes in 0 blocks
==2177== Rerun with --leak-check=full to see details of leaked memory
==2177==
==2177== For counts of detected and suppressed errors, rerun with: -v
==2177== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Life.h'
Lines executed:96.63% of 178
Branches executed:98.63% of 292
Taken at least once:73.29% of 292
Calls executed:89.46% of 294
Creating 'Life.h.gcov'
File 'TestLife.c++'
Lines executed:100.00% of 169
Branches executed:66.74% of 938
Taken at least once:33.37% of 938
Calls executed:55.56% of 1071
Creating 'TestLife.c++.gcov'