Exemplo n.º 1
0
        public void SudokuValidator_IsValidSquareSize_Test()
        {
            int size = 6;                 //6x6 map

            int[] validSize   = { 2, 3 }; //2x3 square
            int[] invalidSize = { 2, 2 }; //2x2 square

            Assert.IsTrue(validator.isValidSquareSize(size, validSize[0], validSize[1]));
            Assert.IsFalse(validator.isValidSquareSize(size, invalidSize[0], invalidSize[1]));
        }