示例#1
0
 public void FibPrintSequenceOfNumbers()
 {
     FibNumbers fib = new FibNumbers();
     int length = 7;
     string expected = "1 1 2 3 5 8 13";
     string actual = fib.ToString(fib.GetSequence(length));
     Assert.AreEqual(expected, actual);
 }