public void LongestStringShouldReturnLongest() { var seq = new StringSequence(); seq.Add(""); seq.Add("abc"); seq.Add("0918034"); var longest = seq.LongestString(); Assert.Equal("0918034", longest); }
public void LongestStringShouldReturnLongest() { //arrange var seq = new StringSequence(); seq.Add(""); seq.Add("abc"); seq.Add("023456789"); //act var longest = seq.LongestString(); //assert Assert.Equal("0123456789", longest); }