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"); } }
public void ThreeNodeCycleGraphTest() { robots = new RobotMaker("/Users/arthur/Projects/c#/hw3/hw3Test/testMatrix5.txt"); robots.CheckMatrix(); Assert.IsTrue(robots.SequenceExists); }
public void FourNodeGraphTestWithOneRobot() { robots = new RobotMaker("/Users/arthur/Projects/c#/hw3/hw3Test/testMatrix4.txt"); robots.CheckMatrix(); Assert.IsFalse(robots.SequenceExists); }