forked from cs371pc-fall-2016/darwin-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasn579-TestDarwin.out
144 lines (140 loc) · 5.78 KB
/
asn579-TestDarwin.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
==3292== Memcheck, a memory error detector
==3292== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==3292== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==3292== Command: ./TestDarwin
==3292==
Running main() from gtest_main.cc
[==========] Running 50 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 6 tests from InstructionFixture
[ RUN ] InstructionFixture.constructor_1
[ OK ] InstructionFixture.constructor_1 (17 ms)
[ RUN ] InstructionFixture.constructor_2
[ OK ] InstructionFixture.constructor_2 (4 ms)
[ RUN ] InstructionFixture.is_control_1
[ OK ] InstructionFixture.is_control_1 (3 ms)
[ RUN ] InstructionFixture.is_control_2
[ OK ] InstructionFixture.is_control_2 (3 ms)
[ RUN ] InstructionFixture.is_action_1
[ OK ] InstructionFixture.is_action_1 (3 ms)
[ RUN ] InstructionFixture.is_action_2
[ OK ] InstructionFixture.is_action_2 (3 ms)
[----------] 6 tests from InstructionFixture (57 ms total)
[----------] 9 tests from SpeciesFixture
[ RUN ] SpeciesFixture.constructor
[ OK ] SpeciesFixture.constructor (8 ms)
[ RUN ] SpeciesFixture.equals_1
[ OK ] SpeciesFixture.equals_1 (4 ms)
[ RUN ] SpeciesFixture.equals_2
[ OK ] SpeciesFixture.equals_2 (3 ms)
[ RUN ] SpeciesFixture.not_equals_1
[ OK ] SpeciesFixture.not_equals_1 (4 ms)
[ RUN ] SpeciesFixture.not_equals_2
[ OK ] SpeciesFixture.not_equals_2 (4 ms)
[ RUN ] SpeciesFixture.add_instruction_1
[ OK ] SpeciesFixture.add_instruction_1 (27 ms)
[ RUN ] SpeciesFixture.line_1
[ OK ] SpeciesFixture.line_1 (5 ms)
[ RUN ] SpeciesFixture.line_2
[ OK ] SpeciesFixture.line_2 (8 ms)
[ RUN ] SpeciesFixture.size_1
[ OK ] SpeciesFixture.size_1 (5 ms)
[----------] 9 tests from SpeciesFixture (82 ms total)
[----------] 7 tests from CreatureFixture
[ RUN ] CreatureFixture.constructor
[ OK ] CreatureFixture.constructor (19 ms)
[ RUN ] CreatureFixture.morph_1
[ OK ] CreatureFixture.morph_1 (6 ms)
[ RUN ] CreatureFixture.morph_2
[ OK ] CreatureFixture.morph_2 (6 ms)
[ RUN ] CreatureFixture.ask
[ OK ] CreatureFixture.ask (15 ms)
[ RUN ] CreatureFixture.tell_1
[ OK ] CreatureFixture.tell_1 (6 ms)
[ RUN ] CreatureFixture.tell_2
[ OK ] CreatureFixture.tell_2 (4 ms)
[ RUN ] CreatureFixture.tell_3
[ OK ] CreatureFixture.tell_3 (5 ms)
[----------] 7 tests from CreatureFixture (73 ms total)
[----------] 28 tests from DarwinTexture
[ RUN ] DarwinTexture.constructor_1
[ OK ] DarwinTexture.constructor_1 (46 ms)
[ RUN ] DarwinTexture.constructor_2
[ OK ] DarwinTexture.constructor_2 (5 ms)
[ RUN ] DarwinTexture.WorldData_1
[ OK ] DarwinTexture.WorldData_1 (6 ms)
[ RUN ] DarwinTexture.add_creature_1
[ OK ] DarwinTexture.add_creature_1 (11 ms)
[ RUN ] DarwinTexture.print_world_1
[ OK ] DarwinTexture.print_world_1 (20 ms)
[ RUN ] DarwinTexture.run_1
[ OK ] DarwinTexture.run_1 (24 ms)
[ RUN ] DarwinTexture.run_prime_1
[ OK ] DarwinTexture.run_prime_1 (22 ms)
[ RUN ] DarwinTexture.if_empty_1
[ OK ] DarwinTexture.if_empty_1 (12 ms)
[ RUN ] DarwinTexture.if_empty_2
[ OK ] DarwinTexture.if_empty_2 (11 ms)
[ RUN ] DarwinTexture.if_empty_3
[ OK ] DarwinTexture.if_empty_3 (10 ms)
[ RUN ] DarwinTexture.if_empty_4
[ OK ] DarwinTexture.if_empty_4 (10 ms)
[ RUN ] DarwinTexture.if_wall_1
[ OK ] DarwinTexture.if_wall_1 (12 ms)
[ RUN ] DarwinTexture.if_wall_2
[ OK ] DarwinTexture.if_wall_2 (8 ms)
[ RUN ] DarwinTexture.if_wall_3
[ OK ] DarwinTexture.if_wall_3 (7 ms)
[ RUN ] DarwinTexture.if_wall_4
[ OK ] DarwinTexture.if_wall_4 (7 ms)
[ RUN ] DarwinTexture.if_enemy_1
[ OK ] DarwinTexture.if_enemy_1 (11 ms)
[ RUN ] DarwinTexture.if_enemy_2
[ OK ] DarwinTexture.if_enemy_2 (11 ms)
[ RUN ] DarwinTexture.if_enemy_3
[ OK ] DarwinTexture.if_enemy_3 (12 ms)
[ RUN ] DarwinTexture.if_enemy_4
[ OK ] DarwinTexture.if_enemy_4 (10 ms)
[ RUN ] DarwinTexture.go
[ OK ] DarwinTexture.go (8 ms)
[ RUN ] DarwinTexture.hop_1
[ OK ] DarwinTexture.hop_1 (10 ms)
[ RUN ] DarwinTexture.hop_2
[ OK ] DarwinTexture.hop_2 (7 ms)
[ RUN ] DarwinTexture.hop_3
[ OK ] DarwinTexture.hop_3 (6 ms)
[ RUN ] DarwinTexture.hop_4
[ OK ] DarwinTexture.hop_4 (6 ms)
[ RUN ] DarwinTexture.infect_1
[ OK ] DarwinTexture.infect_1 (19 ms)
[ RUN ] DarwinTexture.infect_2
[ OK ] DarwinTexture.infect_2 (13 ms)
[ RUN ] DarwinTexture.infect_3
[ OK ] DarwinTexture.infect_3 (14 ms)
[ RUN ] DarwinTexture.infect_4
[ OK ] DarwinTexture.infect_4 (14 ms)
[----------] 28 tests from DarwinTexture (403 ms total)
[----------] Global test environment tear-down
[==========] 50 tests from 4 test cases ran. (692 ms total)
[ PASSED ] 50 tests.
==3292==
==3292== HEAP SUMMARY:
==3292== in use at exit: 72,704 bytes in 1 blocks
==3292== total heap usage: 995 allocs, 994 frees, 230,835 bytes allocated
==3292==
==3292== LEAK SUMMARY:
==3292== definitely lost: 0 bytes in 0 blocks
==3292== indirectly lost: 0 bytes in 0 blocks
==3292== possibly lost: 0 bytes in 0 blocks
==3292== still reachable: 72,704 bytes in 1 blocks
==3292== suppressed: 0 bytes in 0 blocks
==3292== Rerun with --leak-check=full to see details of leaked memory
==3292==
==3292== For counts of detected and suppressed errors, rerun with: -v
==3292== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Darwin.c++'
Lines executed:97.38% of 191
Branches executed:99.34% of 304
Taken at least once:75.99% of 304
Calls executed:93.98% of 332
Creating 'Darwin.c++.gcov'