コード例 #1
0
ファイル: UnitTest1.cs プロジェクト: pecology/MineSweeper
        public void DigTest2(int row, int col)
        {
            var game = new Game(5, 5, 0);

            Assert.Throws <IndexOutOfRangeException>(() => game.Dig(row, col));
        }
コード例 #2
0
ファイル: UnitTest1.cs プロジェクト: pecology/MineSweeper
        public void DigTest1(int row, int col)
        {
            var game = new Game(5, 5, 0);

            game.Dig(row, col);
        }