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
* Entire election aborts with InvalidVoteError when an invalid vote object is passed in. * Add testcase for checking InvalidVoteError is properly raised git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@31 1440c7f4-e209-0410-9a04-881b5eb134a8
Add testcase for non-string plurality vote candidates git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@30 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