-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbchean-TestVoting.out
131 lines (118 loc) · 6.62 KB
/
bchean-TestVoting.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
Running main() from gtest_main.cc
[==========] Running 43 tests from 13 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from VotingSolveTest
[ RUN ] VotingSolveTest.SingleCase
[ OK ] VotingSolveTest.SingleCase (145 ms)
[ RUN ] VotingSolveTest.MultipleCases
[ OK ] VotingSolveTest.MultipleCases (6 ms)
[----------] 2 tests from VotingSolveTest (160 ms total)
[----------] 1 test from VotingHandleCaseTest
[ RUN ] VotingHandleCaseTest.Basic
[ OK ] VotingHandleCaseTest.Basic (3 ms)
[----------] 1 test from VotingHandleCaseTest (3 ms total)
[----------] 3 tests from VotingReadCandidatesTest
[ RUN ] VotingReadCandidatesTest.SingleCandidate
[ OK ] VotingReadCandidatesTest.SingleCandidate (4 ms)
[ RUN ] VotingReadCandidatesTest.LongerCandidateName
[ OK ] VotingReadCandidatesTest.LongerCandidateName (3 ms)
[ RUN ] VotingReadCandidatesTest.MultipleCandidates
[ OK ] VotingReadCandidatesTest.MultipleCandidates (4 ms)
[----------] 3 tests from VotingReadCandidatesTest (12 ms total)
[----------] 4 tests from VotingReadBallotsTest
[ RUN ] VotingReadBallotsTest.SingleBallot
[ OK ] VotingReadBallotsTest.SingleBallot (37 ms)
[ RUN ] VotingReadBallotsTest.SingleVote
[ OK ] VotingReadBallotsTest.SingleVote (7 ms)
[ RUN ] VotingReadBallotsTest.MultipleBallots
[ OK ] VotingReadBallotsTest.MultipleBallots (13 ms)
[ RUN ] VotingReadBallotsTest.LargeNumberOfCandidates
[ OK ] VotingReadBallotsTest.LargeNumberOfCandidates (9 ms)
[----------] 4 tests from VotingReadBallotsTest (67 ms total)
[----------] 2 tests from VotingReadSingleBallotTest
[ RUN ] VotingReadSingleBallotTest.SingleCandidate
[ OK ] VotingReadSingleBallotTest.SingleCandidate (5 ms)
[ RUN ] VotingReadSingleBallotTest.MultipleCandidates
[ OK ] VotingReadSingleBallotTest.MultipleCandidates (4 ms)
[----------] 2 tests from VotingReadSingleBallotTest (10 ms total)
[----------] 13 tests from VotingDetermineOutcomeTest
[ RUN ] VotingDetermineOutcomeTest.SingleCandidate
[ OK ] VotingDetermineOutcomeTest.SingleCandidate (6 ms)
[ RUN ] VotingDetermineOutcomeTest.NoRunoff
[ OK ] VotingDetermineOutcomeTest.NoRunoff (5 ms)
[ RUN ] VotingDetermineOutcomeTest.OneRunoffOneLoser
[ OK ] VotingDetermineOutcomeTest.OneRunoffOneLoser (29 ms)
[ RUN ] VotingDetermineOutcomeTest.OneRunoffMultipleLosers
[ OK ] VotingDetermineOutcomeTest.OneRunoffMultipleLosers (10 ms)
[ RUN ] VotingDetermineOutcomeTest.MultipleRunoffs
[ OK ] VotingDetermineOutcomeTest.MultipleRunoffs (11 ms)
[ RUN ] VotingDetermineOutcomeTest.SecondChoiceCandidateIsLoser
[ OK ] VotingDetermineOutcomeTest.SecondChoiceCandidateIsLoser (11 ms)
[ RUN ] VotingDetermineOutcomeTest.LaterChoiceCandidateAlsoLoser
[ OK ] VotingDetermineOutcomeTest.LaterChoiceCandidateAlsoLoser (12 ms)
[ RUN ] VotingDetermineOutcomeTest.TwoWayTie
[ OK ] VotingDetermineOutcomeTest.TwoWayTie (8 ms)
[ RUN ] VotingDetermineOutcomeTest.MultiWayTie
[ OK ] VotingDetermineOutcomeTest.MultiWayTie (7 ms)
[ RUN ] VotingDetermineOutcomeTest.TieFromRunoff
[ OK ] VotingDetermineOutcomeTest.TieFromRunoff (7 ms)
[ RUN ] VotingDetermineOutcomeTest.GuyWithNoVotes
[ OK ] VotingDetermineOutcomeTest.GuyWithNoVotes (4 ms)
[ RUN ] VotingDetermineOutcomeTest.TieAndGuyWithNoVotes
[ OK ] VotingDetermineOutcomeTest.TieAndGuyWithNoVotes (4 ms)
[ RUN ] VotingDetermineOutcomeTest.LoserEventuallyBreaksTie
[ OK ] VotingDetermineOutcomeTest.LoserEventuallyBreaksTie (8 ms)
[----------] 13 tests from VotingDetermineOutcomeTest (126 ms total)
[----------] 4 tests from VotingDecideSimpleMajorityTest
[ RUN ] VotingDecideSimpleMajorityTest.AllVotes
[ OK ] VotingDecideSimpleMajorityTest.AllVotes (21 ms)
[ RUN ] VotingDecideSimpleMajorityTest.MostVotes
[ OK ] VotingDecideSimpleMajorityTest.MostVotes (12 ms)
[ RUN ] VotingDecideSimpleMajorityTest.HalfVotes
[ OK ] VotingDecideSimpleMajorityTest.HalfVotes (6 ms)
[ RUN ] VotingDecideSimpleMajorityTest.FewVotes
[ OK ] VotingDecideSimpleMajorityTest.FewVotes (6 ms)
[----------] 4 tests from VotingDecideSimpleMajorityTest (46 ms total)
[----------] 3 tests from VotingFindMinMaxVotesTest
[ RUN ] VotingFindMinMaxVotesTest.NoZero
[ OK ] VotingFindMinMaxVotesTest.NoZero (5 ms)
[ RUN ] VotingFindMinMaxVotesTest.WithZero
[ OK ] VotingFindMinMaxVotesTest.WithZero (6 ms)
[ RUN ] VotingFindMinMaxVotesTest.MinMaxSame
[ OK ] VotingFindMinMaxVotesTest.MinMaxSame (5 ms)
[----------] 3 tests from VotingFindMinMaxVotesTest (16 ms total)
[----------] 2 tests from VotingDetermineTieWinnersTest
[ RUN ] VotingDetermineTieWinnersTest.TwoWayTie
[ OK ] VotingDetermineTieWinnersTest.TwoWayTie (4 ms)
[ RUN ] VotingDetermineTieWinnersTest.MultiWayTie
[ OK ] VotingDetermineTieWinnersTest.MultiWayTie (5 ms)
[----------] 2 tests from VotingDetermineTieWinnersTest (9 ms total)
[----------] 3 tests from VotingDemoteContendersTest
[ RUN ] VotingDemoteContendersTest.DemoteOne
[ OK ] VotingDemoteContendersTest.DemoteOne (25 ms)
[ RUN ] VotingDemoteContendersTest.DemoteMultiple
[ OK ] VotingDemoteContendersTest.DemoteMultiple (19 ms)
[ RUN ] VotingDemoteContendersTest.DemoteMultipleVotingForEachOther
[ OK ] VotingDemoteContendersTest.DemoteMultipleVotingForEachOther (19 ms)
[----------] 3 tests from VotingDemoteContendersTest (65 ms total)
[----------] 2 tests from VotingReassignLoserBallotsTest
[ RUN ] VotingReassignLoserBallotsTest.NoLosers
[ OK ] VotingReassignLoserBallotsTest.NoLosers (23 ms)
[ RUN ] VotingReassignLoserBallotsTest.SomeLosers
[ OK ] VotingReassignLoserBallotsTest.SomeLosers (21 ms)
[----------] 2 tests from VotingReassignLoserBallotsTest (44 ms total)
[----------] 3 tests from VotingWhoShouldInheritVoteTest
[ RUN ] VotingWhoShouldInheritVoteTest.HeirSecond
[ OK ] VotingWhoShouldInheritVoteTest.HeirSecond (4 ms)
[ RUN ] VotingWhoShouldInheritVoteTest.HeirInMiddle
[ OK ] VotingWhoShouldInheritVoteTest.HeirInMiddle (4 ms)
[ RUN ] VotingWhoShouldInheritVoteTest.HeirLast
[ OK ] VotingWhoShouldInheritVoteTest.HeirLast (4 ms)
[----------] 3 tests from VotingWhoShouldInheritVoteTest (12 ms total)
[----------] 1 test from VotingPrintOutcomeTest
[ RUN ] VotingPrintOutcomeTest.Basic
[ OK ] VotingPrintOutcomeTest.Basic (3 ms)
[----------] 1 test from VotingPrintOutcomeTest (3 ms total)
[----------] Global test environment tear-down
[==========] 43 tests from 13 test cases ran. (605 ms total)
[ PASSED ] 43 tests.