예제 #1
0
        public void OpenTest()
        {
            List <int> balls = new List <int>();

            Open frame = new Open(1, 1);

            frame.AddBalls(ref balls);

            Assert.Equal(2, frame.Score);
            Assert.Equal <int>(new int[] { 1, 1 }, frame.PinsPerBall);
            Assert.Equal <int>(new int[] { 1, 1 }, balls);
        }