| 1 |
# The empty config always announces a won vote. |
| 2 |
vote |
| 3 |
---- |
| 4 |
VoteWon |
| 5 |
|
| 6 |
vote cfg=(1) votes=(_) |
| 7 |
---- |
| 8 |
VotePending |
| 9 |
|
| 10 |
vote cfg=(1) votes=(n) |
| 11 |
---- |
| 12 |
VoteLost |
| 13 |
|
| 14 |
vote cfg=(123) votes=(y) |
| 15 |
---- |
| 16 |
VoteWon |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
vote cfg=(4,8) votes=(_,_) |
| 22 |
---- |
| 23 |
VotePending |
| 24 |
|
| 25 |
# With two voters, a single rejection loses the vote. |
| 26 |
vote cfg=(4,8) votes=(n,_) |
| 27 |
---- |
| 28 |
VoteLost |
| 29 |
|
| 30 |
vote cfg=(4,8) votes=(y,_) |
| 31 |
---- |
| 32 |
VotePending |
| 33 |
|
| 34 |
vote cfg=(4,8) votes=(n,y) |
| 35 |
---- |
| 36 |
VoteLost |
| 37 |
|
| 38 |
vote cfg=(4,8) votes=(y,y) |
| 39 |
---- |
| 40 |
VoteWon |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
vote cfg=(2,4,7) votes=(_,_,_) |
| 45 |
---- |
| 46 |
VotePending |
| 47 |
|
| 48 |
vote cfg=(2,4,7) votes=(n,_,_) |
| 49 |
---- |
| 50 |
VotePending |
| 51 |
|
| 52 |
vote cfg=(2,4,7) votes=(y,_,_) |
| 53 |
---- |
| 54 |
VotePending |
| 55 |
|
| 56 |
vote cfg=(2,4,7) votes=(n,n,_) |
| 57 |
---- |
| 58 |
VoteLost |
| 59 |
|
| 60 |
vote cfg=(2,4,7) votes=(y,n,_) |
| 61 |
---- |
| 62 |
VotePending |
| 63 |
|
| 64 |
vote cfg=(2,4,7) votes=(y,y,_) |
| 65 |
---- |
| 66 |
VoteWon |
| 67 |
|
| 68 |
vote cfg=(2,4,7) votes=(y,y,n) |
| 69 |
---- |
| 70 |
VoteWon |
| 71 |
|
| 72 |
vote cfg=(2,4,7) votes=(n,y,n) |
| 73 |
---- |
| 74 |
VoteLost |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
# Test some random example with seven nodes (why not). |
| 79 |
vote cfg=(1,2,3,4,5,6,7) votes=(y,y,n,y,_,_,_) |
| 80 |
---- |
| 81 |
VotePending |
| 82 |
|
| 83 |
vote cfg=(1,2,3,4,5,6,7) votes=(_,y,y,_,n,y,n) |
| 84 |
---- |
| 85 |
VotePending |
| 86 |
|
| 87 |
vote cfg=(1,2,3,4,5,6,7) votes=(y,y,n,y,_,n,y) |
| 88 |
---- |
| 89 |
VoteWon |
| 90 |
|
| 91 |
vote cfg=(1,2,3,4,5,6,7) votes=(y,y,_,n,y,n,n) |
| 92 |
---- |
| 93 |
VotePending |
| 94 |
|
| 95 |
vote cfg=(1,2,3,4,5,6,7) votes=(y,y,n,y,n,n,n) |
| 96 |
---- |
| 97 |
VoteLost |