public void TestJoblistWithCircularDependency() { var testresult = new OrderesSequence("a=> \r\n b=>c \r\n c=>f \r\n d=>a \r\n e=> \r\n f=>b \r\n"); }
public void TestJoblistWithSelfRefrence() { var testresult = new OrderesSequence("a=> \r\n b=> \r\n c=>c \r\n"); }
public void TestJoblistComplexWithMultiDependency() { var testresult = new OrderesSequence("a=> \r\n b=>c \r\n c=>a \r\n d=>a \r\n e=>b \r\n f=>c \r\n"); Assert.AreEqual(expected: "acbdef", actual: testresult.JobsList, "List with only one job Worked as expected"); }
public void TestJoblistWithBasicDependencies() { var testresult = new OrderesSequence("a=> \r\n b=>c \r\n c=> \r\n"); Assert.AreEqual(expected: "acb", actual: testresult.JobsList, "List with only one job Worked as expected"); }
public void TestOneJob() { var testresult = new OrderesSequence("a=>"); Assert.AreEqual(expected: "a", actual: testresult.JobsList, "List with only one job Worked as expected"); }
public void TestEmptyJobList() { var testresult = new OrderesSequence(""); Assert.AreEqual(expected: "", actual: testresult.JobsList, "Empty Orders Worked as expected"); }