public void GetCustomNumbers() { string[] arr = { "0", "1", "2", "C", "4", "E" }; List <string> expectedList = arr.ToList <string>(); CollectionAssert.AreEqual(expectedList, GenerateNumbers.GetCustomNumbers(5)); }
public void GetCustomNumbersWithNullArgument() { Assert.AreEqual(null, GenerateNumbers.GetCustomNumbers(-19)); }