pivot-libre / tideman

Implementation of the Tideman ranked pairs algorithm
Apache License 2.0
9 stars 3 forks source link

Added NBallot multiplier parsing #91

Closed carlschroedl closed 6 years ago

carlschroedl commented 6 years ago

Addresses #90 This work makes it easy to concisely simulate elections, which will help implement #52 and https://github.com/pivot-libre/pivot/issues/156.

Later, if/when we remove the NBallot class, the NBallot Parser can be retained. It will simply return an array of N regular Ballot instances instead of one NBallot instance.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+2.5%) to 84.142% when pulling 6078304c50da91fa75feaef7dd9ec591cfcc9f2f on carlschroedl:nBallotParsing#90 into 11ca8836b9378b6b95568c5b7c965531a5c58ef8 on pivot-libre:0.x.

carlschroedl commented 6 years ago

I reviewed the Codacy results. I choose not to fix them.