public void FindSolutionStartTest2() { var data = new KnapsackProblemDataParser(); var constraint = KnapsackProblemDataParser.FindSolutionStart("3369\t3712", data); Assert.AreEqual(KnapsackProblemDataParser.FindSolutionStart, constraint); }
public void FindSolutionStartTest1() { var data = new KnapsackProblemDataParser(); var constraint = KnapsackProblemDataParser.FindSolutionStart("sol:", data); Assert.AreEqual(KnapsackProblemDataParser.ReadSolutionResourceOrFindSolutionEnd, constraint); }