Beispiel #1
0
        public string FibonacciRow_ValidParameters(int count)
        {
            string actualResult = "";

            foreach (var number in FibonacciCalculator.GenerateFibonacciNumbers(count))
            {
                actualResult += number.ToString() + " ";
            }
            return(actualResult);
        }
Beispiel #2
0
 public void FibonacciRow_InvalidParameters(int count)
 {
     Assert.Throws <ArgumentException>(() => FibonacciCalculator.GenerateFibonacciNumbers(count));
 }