public void Test1() { bool[,] matrix = new bool[, ] { { true, false, false } }; Assert.AreEqual(Submatrix.SolveBrute(matrix), Submatrix.Solve(matrix)); }
public void Test3() { bool[,] matrix = new bool[, ] { { false, false, true, false, false }, { false, true, true, true, false }, { true, true, true, true, true }, }; Assert.AreEqual(6, Submatrix.Solve(matrix)); Assert.AreEqual(Submatrix.SolveBrute(matrix), Submatrix.Solve(matrix)); }