()
| 538 | } |
| 539 | |
| 540 | func (voteSet *VoteSet) bitArrayString() string { |
| 541 | bAString := voteSet.votesBitArray.String() |
| 542 | voted, total, fracVoted := voteSet.sumTotalFrac() |
| 543 | return fmt.Sprintf("%s %d/%d = %.2f", bAString, voted, total, fracVoted) |
| 544 | } |
| 545 | |
| 546 | // Returns a list of votes compressed to more readable strings. |
| 547 | func (voteSet *VoteSet) VoteStrings() []string { |
no test coverage detected