public void TestMethod2() { var f = new FibonaciSequence(); var result = f.Fibonaci(1); Assert.AreEqual("2", result.ToString()); Assert.AreEqual(3, f.index); }
static void Main(string[] args) { var f = new FibonaciSequence(); var result = f.Fibonaci(1000); Console.WriteLine(f.index); Console.ReadLine(); }
public void TestMethod1() { var f = new FibonaciSequence(); var result = f.Fibonaci(3); Assert.AreEqual("144", result.ToString()); Assert.AreEqual(12,f.index); }