public void TestLCS2() { var actual = Q056LongestCommonSequence.LCS("acdabbc", "cddbacaba"); var expect = "cdbc"; Assert.AreEqual(expect, actual); }
public void TestLCS1() { var actual = Q056LongestCommonSequence.LCS("BDCABA", "ABCBDAB"); var expect = "BCBA"; Assert.AreEqual(expect, actual); }