public void FirstTenFib() { var fibMatrix = new FibMatix(); Assert.AreEqual(3, fibMatrix.GetFibNum(4)); Assert.AreEqual(5, fibMatrix.GetFibNum(5)); Assert.AreEqual(8, fibMatrix.GetFibNum(6)); Assert.AreEqual(13, fibMatrix.GetFibNum(7)); Assert.AreEqual(21, fibMatrix.GetFibNum(8)); Assert.AreEqual(34, fibMatrix.GetFibNum(9)); }
public void FourthFib() { var fibMatrix = new FibMatix(); Assert.AreEqual(3, fibMatrix.GetFibNum(4)); }
public void SecondFib() { var fibMatrix = new FibMatix(); Assert.AreEqual(1, fibMatrix.GetFibNum(2)); }
public void ThirdFib() { var fibMatrix = new FibMatix(); Assert.AreEqual(2, fibMatrix.GetFibNum(3)); }
public void FirstFib() { var fibMatrix = new FibMatix(); Assert.AreEqual(1, fibMatrix.GetFibNum(1)); }