Exemple #1
0
        public static void Main(string[] args)
        {
            var robotMaker = new RobotMaker("testMatrix1.txt");

            robotMaker.CheckMatrix();
            if (robotMaker.SequenceExists)
            {
                Console.WriteLine("Sequence exists");
            }
            else
            {
                Console.WriteLine("Sequence doesen't exist");
            }
        }
Exemple #2
0
 public void ThreeNodeCycleGraphTest()
 {
     robots = new RobotMaker("/Users/arthur/Projects/c#/hw3/hw3Test/testMatrix5.txt");
     robots.CheckMatrix();
     Assert.IsTrue(robots.SequenceExists);
 }
Exemple #3
0
 public void FourNodeGraphTestWithOneRobot()
 {
     robots = new RobotMaker("/Users/arthur/Projects/c#/hw3/hw3Test/testMatrix4.txt");
     robots.CheckMatrix();
     Assert.IsFalse(robots.SequenceExists);
 }