public CyclesTestCase(double timeLimit, Exception expectedException, string description, Graph g, Edge[] cycle, Edge[] expectedCycle, double result, double expectedResult) : base(timeLimit, expectedException, description) { this.g = g; cycleChecker = new CycleChecker(g); this.expectedCycle = expectedCycle; this.result = result; this.expectedResult = expectedResult; this.cycle = cycle; }
public CyclesTestCase(double timeLimit, Exception expectedException, string description, Graph g, Graph t) : base(timeLimit, expectedException, description) { this.g = g; this.t = t; cycleChecker = new CycleChecker(g); if (g != null) { g1 = g.Clone(); } if (t != null) { t1 = t.Clone(); } }