Exemple #1
0
        public void ScoringThreePointsHomeWorks()
        {
            var scoreEvent = new ScoreEvent {
                ScorePoints = 3, ScoreTeam = Team.Home
            };

            _subject.ApplyScoreEvent(scoreEvent);

            var currentScore = _subject.GetCurrentScore();

            Assert.AreEqual(3, currentScore[Team.Home]);
            Assert.AreEqual(0, currentScore[Team.Away]);
        }