Beispiel #1
0
 public void Test5()
 {
     int[,] array = { { 1, 1, 1 }, { 1, 1, 1 }, { 1, 1, 1 } };
     bool[] robArray = { false, true, true };
     RobotsSolver test = new RobotsSolver(array, robArray);
     Assert.IsTrue(test.IsPossible());
 }
Beispiel #2
0
 public void Test3()
 {
     int[,] array = { { 1, 1, 0, 0 }, { 1, 1, 1, 0 }, { 0, 1, 1, 1 }, { 0, 0, 1, 1 } };
     bool[] robArray = { true, true, true, false };
     RobotsSolver test = new RobotsSolver(array, robArray);
     Assert.IsFalse(test.IsPossible());
 }