示例#1
0
        public void SpareWithBonus()
        {
            var frame = new Spare(2)
            {
                Next = new SpareBonus(5)
            };

            Assert.Equal(15, frame.Points);
        }
示例#2
0
        public void SpareWithOpenFrame10PlusFirstRoll()
        {
            var frame = new Spare(2)
            {
                Next = new OpenFrame(1, 1)
            };

            Assert.Equal(11, frame.Points);
        }
示例#3
0
        public void SingleSparePoints10()
        {
            var frame = new Spare(2);

            Assert.Equal(10, frame.Points);
        }