public void LongestCommonSubsequenceTest() { var input1 = "XMJYAUZ;MZJAWXU"; var expected = "MJAU"; LCS longestSequence = new LCS(input1); Assert.AreEqual(expected, longestSequence.LongestCommonSequence,"sequence no correct"); }
static void Main(string[] args) { var input1 = "XMJYAUZ;MZJAWXU"; //var expected = "MJAU"; LCS longestSequence = new LCS(input1); Console.WriteLine("{0}", longestSequence.LongestCommonSequence); }