4 require 'election_test_helper'
6 class TestPositionalVote < Test::Unit::TestCase
7 include ElectionTestHelper
10 vote_array = Array.new
11 3.times {vote_array << "ABC".split("")}
12 3.times {vote_array << "CBA".split("")}
13 2.times {vote_array << "BAC".split("")}
15 test_winner( "B", BordaVote.new(vote_array).result )