コード例 #1
0
 public void SetFramesCanBeUsedToAddDataToFrames()
 {
     Game g = new Game();
     g.SetFrames("-123-");
     Assert.AreEqual(1, g.GetFrameScore(0));
     Assert.AreEqual(5, g.GetFrameScore(1));
 }
コード例 #2
0
        public void SetFramesCanBeUsedToAddDataToFrames()
        {
            Game g = new Game();

            g.SetFrames("-123-");
            Assert.AreEqual(1, g.GetFrameScore(0));
            Assert.AreEqual(5, g.GetFrameScore(1));
        }