Exemple #1
0
        public void HasEmptyCell_ReturnsTrue_CellFound()
        {
            this.matrix[2, 3] = 0;
            bool hasEmpty = MatrixWalk.HasEmptyCell(this.matrix);

            Assert.IsTrue(hasEmpty);
        }
Exemple #2
0
        public void HasEmptyCell_ReturnsFalse_CellNotFound()
        {
            bool hasEmpty = MatrixWalk.HasEmptyCell(this.matrix);

            Assert.IsFalse(hasEmpty);
        }