Esempio n. 1
0
 public static void test1()
 {
     string[] s1 = new string[] { "hoqq", "bbllkw", "oox", "ejjuyyy", "plmiis", "xxxzgpsssa", "xxwwkktt", "znnnnfqknaz", "qqquuhii", "dvvvwz" };
     string[] s2 = new string[] { "cccooommaaqqoxii", "gggqaffhhh", "tttoowwwmmww" };
     Assert.AreEqual(13, MaxDiffLength.Mxdiflg(s1, s2));
 }
 public void MxdiflgTestOneArrayisNullAndLengthis0()
 {
     string[] s1 = new string[] { "hoqq", "bbllkw", "oox", "ejjuyyy", "plmiis", "xxxzgpsssa", "xxwwkktt", "znnnnfqknaz", "qqquuhii", "dvvvwz" };
     string[] s2 = new string[0];
     Assert.AreEqual(-1, MaxDiffLength.Mxdiflg(s1, s2));
 }