Esempio n. 1
0
 public void IsAllDestroyTest()
 {
     RobotsNetwork ourNetwork = new RobotsNetwork("..\\..\\test.txt");
     Assert.IsFalse(ourNetwork.IsAllRobotsDestroy());
     ourNetwork = new RobotsNetwork("..\\..\\test2.txt");
     Assert.IsTrue(ourNetwork.IsAllRobotsDestroy());
     ourNetwork = new RobotsNetwork("..\\..\\test3.txt");
     Assert.IsTrue(ourNetwork.IsAllRobotsDestroy());
 }
Esempio n. 2
0
 static void Main(string[] args)
 {
     RobotsNetwork network = new RobotsNetwork("..\\..\\input.txt");
     System.Console.WriteLine(network.IsAllRobotsDestroy());
 }