Пример #1
0
        public void Round_SaveFrame()
        {
            var round = new Bowling.Round();

            var actual = round.SaveFrame(pins1: 3, pins2: 2);

            Assert.AreEqual(5, actual);
        }
Пример #2
0
        public void Round_GetScore()
        {
            var round = new Bowling.Round();
            var pins1 = 5;
            var pins2 = 1;

            var actual = round.SaveFrame(pins1, pins2);

            Assert.AreEqual(actual, round.GetScore());
        }