Closed carlschroedl closed 6 years ago
I looked at the problems Codacy identified. I choose not to fix them.
This isn't a full implementation of winning votes. It will be fully implemented once the WinningVotesRegistrar classs gets used in RankedPairsCalculator and we add some RankedPairsCalculatorTests that describe the expected winning votes behavior. Nevertheless, this is a decently-large set of changes so, to avoid merge conflicts, I want to merge before Tyler has a chance to lean into this stuff starting next week.
Tis isn't done, but I thought it would be helpful to get a peek at it Removed filtering from PariList becase that is accomplished in the PairRegistry now. One broken test. Moved indifference incrementing from abstract class to WinningVoteRegistrar because indifference is only changed when working with winning votes. Tested WinningVoteRegistrar. Changed Pair->indifference initial value from null to 0. Made test more comprehensive Documentation improvements