+ def test_invalid_voteobj
+ vote_array = [1,2,nil,1]
+ assert_raise(InvalidVoteError) { PluralityVote.new(vote_array).result.winners[0] }
+ end
+
+ def test_approval_empty
+ vote_array = []
+ assert_nil ApprovalVote.new(vote_array).result.winners[0]
+ assert_equal(false, ApprovalVote.new(vote_array).result.winner?)
+ end
+