public void Problem020_Tests_1() { string s = "()"; bool act = Problem020.IsValid(s); bool exp = true; Assert.Equal(exp, act); }
public void Problem020_Tests_5() { string s = "]"; bool act = Problem020.IsValid(s); bool exp = false; Assert.Equal(exp, act); }
public void Problem020() { var problem = new Problem020() { ConsoleOutput = false, DetailedOutput = false }; Assert.AreEqual(648, problem.Answer()); }
public void IsCorrectProblem020() { var problem = new Problem020(); Assert.Equal(Answers["20"], problem.Solve()); }
public void SolveTest(string x, string y, string expected) { string lcs = Problem020.Solve(x, y); Assert.AreEqual(expected, lcs); }