示例#1
0
        public void TestPlay(string word, int points, int stars)
        {
            var part  = new WordPart(word, new Cell(4, 3), Direction.Right);
            var score = PlayerScore.Play(part);

            Assert.AreEqual(points, score.Points);
            Assert.AreEqual(stars, score.Stars);
        }