public void AddManyShouldNotThrowException(string[] data) { var col = new NonGenericCollection(); col.AddMany(data); // if no exception thrown, success }
public void DumbLongestShouldReturnLongest( string expected, string[] data) { // Arrange var col = new NonGenericCollection(); col.AddMany(data); // Act var actual = col.DumbLongest(); // Assert Assert.Equal(expected, actual); }
public void ThirdAlphabeticalShouldReturnCorrectly() { // Arrange var col = new NonGenericCollection(); var items = new List <string> { "a", "abc", "ab", "Nick Escalona", "12345" }; var expected = "ab"; col.AddMany(items); // Act var actual = col.ThirdAlphabetical(); // Assert Assert.Equal(expected, actual); }