public void WorkForLongerRepeatedStrings() { List <string> list_number = new List <string> { "made", "rosario", "rosario", "pipo", "" }; var result = Week4.LongerLength(list_number); Assert.AreEqual((2, "rosario"), result); }
public void WorkForDifferentStringSameLengthLonger() { List <string> list_number = new List <string> { "made", "mariantonieta132*", "rosario", "rosario", "pipo", "mariantonieta132*", "fidelia", "mariantoniete132/", "mariantonieta132*", "" }; var result = Week4.LongerLength(list_number); Assert.AreEqual((4, "mariantonieta132*"), result); }
public void WorkForLongerString() { List <string> list_number = new List <string> { "made", "rosario", "carmenates123", "pipo", "" }; var result = Week4.LongerLength(list_number); Assert.AreEqual((1, "carmenates123"), result); }