예제 #1
0
        public void LeaderBoardDisplaysRedVote()
        {
            RegisterObservers();

            election.SetVote(PartyType.Red);
            election.Notify();

            Assert.That(leaderBoard.Display(), Is.StringContaining("Party: Red, Votes: 1"));
        }