public void Problem014_Tests_1() { string[] strs = new string[] { "flower", "flow", "flight" }; string act = Problem014.LongestCommonPrefix(strs); string exp = "fl"; Assert.Equal(exp, act); }
public void Problem014_Tests_3() { string[] strs = new string[] { "cir", "car" }; string act = Problem014.LongestCommonPrefix(strs); string exp = "c"; Assert.Equal(exp, act); }