a number of improvements - switched IRV's add_vote to tally_vote to make it consistent - added description and documentation to each method/time - fixed typo in README - added a new IRV test (which i'm not sure is wrong) but which was causing big problems on selectricity git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@49 1440c7f4-e209-0410-9a04-881b5eb134a8
Fix problem with a [nil] result being taken as having a winner; add testcases git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@36 1440c7f4-e209-0410-9a04-881b5eb134a8
Add testcases for calling results to empty votes. TODO: IRV Logic has same bug git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@34 1440c7f4-e209-0410-9a04-881b5eb134a8
Condorcet votes can now properly handle votes expressing equivalency between candidates. Viz. [1, [2, 3], 4] indicates that options 2 and 3 are equally preferred, both coming after 1 and before 4. git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@27 1440c7f4-e209-0410-9a04-881b5eb134a8
o Verify that all tests in test.rb are present in test/*_test.rb files, remove test.rb o Convert tests to run silent when successful, remove test/election_test_helper.rb git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@15 1440c7f4-e209-0410-9a04-881b5eb134a8
Added list of changes submitted by Jeff Rose <jeff@rosejn.net>. This includes: * Rake based testing and gemmification. * Range based voting (untested). * A new TODO file. * Moving files around to have them RV work better as a library. Thanks Jeff! git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@11 1440c7f4-e209-0410-9a04-881b5eb134a8