Esempio n. 1
0
 public void TestMethod1()
 {
     Assert.AreEqual("fl", HorizontalScanning.LongestCommonPrefix(new string[] { "flower", "flow", "flight" }));
 }
Esempio n. 2
0
 public void TestMethod2()
 {
     Assert.AreEqual("", HorizontalScanning.LongestCommonPrefix(new string[] { "dog", "racecar", "car" }));
 }