forked from cs371pc-fall-2016/darwin-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vyc232-TestDarwin.out
149 lines (146 loc) · 7.29 KB
/
vyc232-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
145
146
147
148
149
==818== Memcheck, a memory error detector
==818== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==818== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==818== Command: ./TestDarwin
==818==
Running main() from gtest_main.cc
[==========] Running 54 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 18 tests from SpeciesFixture
[ RUN ] SpeciesFixture.species_constructor1
[ OK ] SpeciesFixture.species_constructor1 (19 ms)
[ RUN ] SpeciesFixture.species_constructor2
[ OK ] SpeciesFixture.species_constructor2 (2 ms)
[ RUN ] SpeciesFixture.species_constructor3
[ OK ] SpeciesFixture.species_constructor3 (3 ms)
[ RUN ] SpeciesFixture.species_addInstruction_action1
[ OK ] SpeciesFixture.species_addInstruction_action1 (17 ms)
[ RUN ] SpeciesFixture.species_addInstruction_action2
[ OK ] SpeciesFixture.species_addInstruction_action2 (11 ms)
[ RUN ] SpeciesFixture.species_addInstruction_action3
[ OK ] SpeciesFixture.species_addInstruction_action3 (3 ms)
[ RUN ] SpeciesFixture.species_addInstruction_control1
[ OK ] SpeciesFixture.species_addInstruction_control1 (4 ms)
[ RUN ] SpeciesFixture.species_addInstruction_control2
[ OK ] SpeciesFixture.species_addInstruction_control2 (9 ms)
[ RUN ] SpeciesFixture.species_addInstruction_control3
[ OK ] SpeciesFixture.species_addInstruction_control3 (4 ms)
[ RUN ] SpeciesFixture.species_getInstruction1
[ OK ] SpeciesFixture.species_getInstruction1 (3 ms)
[ RUN ] SpeciesFixture.species_getInstruction2
[ OK ] SpeciesFixture.species_getInstruction2 (5 ms)
[ RUN ] SpeciesFixture.species_getInstruction3
[ OK ] SpeciesFixture.species_getInstruction3 (4 ms)
[ RUN ] SpeciesFixture.species_printID1
[ OK ] SpeciesFixture.species_printID1 (5 ms)
[ RUN ] SpeciesFixture.species_printID2
[ OK ] SpeciesFixture.species_printID2 (3 ms)
[ RUN ] SpeciesFixture.species_printID3
[ OK ] SpeciesFixture.species_printID3 (2 ms)
[ RUN ] SpeciesFixture.species_equaloperator1
[ OK ] SpeciesFixture.species_equaloperator1 (4 ms)
[ RUN ] SpeciesFixture.species_equaloperator2
[ OK ] SpeciesFixture.species_equaloperator2 (3 ms)
[ RUN ] SpeciesFixture.species_equaloperator3
[ OK ] SpeciesFixture.species_equaloperator3 (3 ms)
[----------] 18 tests from SpeciesFixture (139 ms total)
[----------] 21 tests from CreatureFixture
[ RUN ] CreatureFixture.creature_default_constructor1
[ OK ] CreatureFixture.creature_default_constructor1 (4 ms)
[ RUN ] CreatureFixture.creature_constructor1
[ OK ] CreatureFixture.creature_constructor1 (8 ms)
[ RUN ] CreatureFixture.creature_constructor2
[ OK ] CreatureFixture.creature_constructor2 (4 ms)
[ RUN ] CreatureFixture.creature_constructor3
[ OK ] CreatureFixture.creature_constructor3 (3 ms)
[ RUN ] CreatureFixture.creature_printID1
[ OK ] CreatureFixture.creature_printID1 (3 ms)
[ RUN ] CreatureFixture.creature_printID2
[ OK ] CreatureFixture.creature_printID2 (3 ms)
[ RUN ] CreatureFixture.creature_printID3
[ OK ] CreatureFixture.creature_printID3 (3 ms)
[ RUN ] CreatureFixture.creature_getFacingSpot1
[ OK ] CreatureFixture.creature_getFacingSpot1 (2 ms)
[ RUN ] CreatureFixture.creature_getFacingSpot2
[ OK ] CreatureFixture.creature_getFacingSpot2 (3 ms)
[ RUN ] CreatureFixture.creature_getFacingSpot3
[ OK ] CreatureFixture.creature_getFacingSpot3 (3 ms)
[ RUN ] CreatureFixture.creature_getFacingSpot4
[ OK ] CreatureFixture.creature_getFacingSpot4 (4 ms)
[ RUN ] CreatureFixture.creature_nextInstruction1
[ OK ] CreatureFixture.creature_nextInstruction1 (7 ms)
[ RUN ] CreatureFixture.creature_nextInstruction2
[ OK ] CreatureFixture.creature_nextInstruction2 (7 ms)
[ RUN ] CreatureFixture.creature_nextInstruction3
[ OK ] CreatureFixture.creature_nextInstruction3 (5 ms)
[ RUN ] CreatureFixture.creature_nextInstruction4
[ OK ] CreatureFixture.creature_nextInstruction4 (4 ms)
[ RUN ] CreatureFixture.creature_changeSpecies1
[ OK ] CreatureFixture.creature_changeSpecies1 (12 ms)
[ RUN ] CreatureFixture.creature_changeSpecies2
[ OK ] CreatureFixture.creature_changeSpecies2 (4 ms)
[ RUN ] CreatureFixture.creature_changeSpecies3
[ OK ] CreatureFixture.creature_changeSpecies3 (4 ms)
[ RUN ] CreatureFixture.creature_equalOperator1
[ OK ] CreatureFixture.creature_equalOperator1 (3 ms)
[ RUN ] CreatureFixture.creature_equalOperator2
[ OK ] CreatureFixture.creature_equalOperator2 (3 ms)
[ RUN ] CreatureFixture.creature_equalOperator3
[ OK ] CreatureFixture.creature_equalOperator3 (3 ms)
[----------] 21 tests from CreatureFixture (118 ms total)
[----------] 15 tests from DarwinFixture
[ RUN ] DarwinFixture.darwin_constructor1
[ OK ] DarwinFixture.darwin_constructor1 (13 ms)
[ RUN ] DarwinFixture.darwin_constructor2
[ OK ] DarwinFixture.darwin_constructor2 (9 ms)
[ RUN ] DarwinFixture.darwin_constructor3
[ OK ] DarwinFixture.darwin_constructor3 (3 ms)
[ RUN ] DarwinFixture.darwin_runTurn1
[ OK ] DarwinFixture.darwin_runTurn1 (22 ms)
[ RUN ] DarwinFixture.darwin_runTurn2
[ OK ] DarwinFixture.darwin_runTurn2 (6 ms)
[ RUN ] DarwinFixture.darwin_runTurn3
[ OK ] DarwinFixture.darwin_runTurn3 (10 ms)
[ RUN ] DarwinFixture.darwin_addCreature1
[ OK ] DarwinFixture.darwin_addCreature1 (5 ms)
[ RUN ] DarwinFixture.darwin_addCreature2
[ OK ] DarwinFixture.darwin_addCreature2 (12 ms)
[ RUN ] DarwinFixture.darwin_addCreature3
[ OK ] DarwinFixture.darwin_addCreature3 (10 ms)
[ RUN ] DarwinFixture.darwin_checkSpot1
[ OK ] DarwinFixture.darwin_checkSpot1 (4 ms)
[ RUN ] DarwinFixture.darwin_checkSpot2
[ OK ] DarwinFixture.darwin_checkSpot2 (2 ms)
[ RUN ] DarwinFixture.darwin_checkSpot3
[ OK ] DarwinFixture.darwin_checkSpot3 (4 ms)
[ RUN ] DarwinFixture.darwin_printBoard1
[ OK ] DarwinFixture.darwin_printBoard1 (3 ms)
[ RUN ] DarwinFixture.darwin_printBoard2
[ OK ] DarwinFixture.darwin_printBoard2 (9 ms)
[ RUN ] DarwinFixture.darwin_printBoard3
[ OK ] DarwinFixture.darwin_printBoard3 (6 ms)
[----------] 15 tests from DarwinFixture (132 ms total)
[----------] Global test environment tear-down
[==========] 54 tests from 3 test cases ran. (445 ms total)
[ PASSED ] 54 tests.
==818==
==818== HEAP SUMMARY:
==818== in use at exit: 72,704 bytes in 1 blocks
==818== total heap usage: 874 allocs, 873 frees, 263,281 bytes allocated
==818==
==818== LEAK SUMMARY:
==818== definitely lost: 0 bytes in 0 blocks
==818== indirectly lost: 0 bytes in 0 blocks
==818== possibly lost: 0 bytes in 0 blocks
==818== still reachable: 72,704 bytes in 1 blocks
==818== suppressed: 0 bytes in 0 blocks
==818== Rerun with --leak-check=full to see details of leaked memory
==818==
==818== For counts of detected and suppressed errors, rerun with: -v
==818== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Darwin.c++'
Lines executed:92.31% of 117
Branches executed:86.41% of 103
Taken at least once:67.96% of 103
Calls executed:81.82% of 66
Creating 'Darwin.c++.gcov'