예제 #1
0
        public void TestSafeMinesweeperBox()
        {
            var box = new MinesweeperBox(new Safe(2, Coordinates));

            Assert.AreEqual(box.ToString(), "2");
        }
예제 #2
0
        public void TestMineMinesweeperBox()
        {
            var box = new MinesweeperBox(new Mine(Coordinates));

            Assert.AreEqual(box.ToString(), "*");
        }