Ejemplo n.º 1
0
        public void CalculateRoundScore_IsStrike()
        {
            var strikeRound = Setup(10, 0);

            var calculatedStrikeRound = _roundService.CalculateRoundScore(strikeRound);

            Assert.Equal(PreviousRoundScore + 20, calculatedStrikeRound.Score);
            Assert.Equal(_strikeTypeId, calculatedStrikeRound.RoundTypeId);
            Assert.Null(calculatedStrikeRound.RoundType);
        }