public void GetFibonacciNumbers() { int[] arr = { 0, 1, 1, 2, 3 }; List <int> expectedList = arr.ToList <int>(); CollectionAssert.AreEqual(expectedList, GenerateNumbers.GetFibonacciNumbers(5)); }
public void GetFibonacciNumbersWithNullArgument() { Assert.AreEqual(null, GenerateNumbers.GetFibonacciNumbers(-19)); }