Beispiel #1
0
        public void fibonnaci_9_returns_34()
        {
            var result = Fibonnaci.Calc(9);

            Assert.AreEqual(34, result);
        }
Beispiel #2
0
        public void fibonnaci_2_returns_1()
        {
            var result = Fibonnaci.Calc(2);

            Assert.AreEqual(1, result);
        }
Beispiel #3
0
        public void fibonnaci_3_returns_2()
        {
            var result = Fibonnaci.Calc(3);

            Assert.AreEqual(2, result);
        }
Beispiel #4
0
        public void fibonnaci_0_returns_0()
        {
            var result = Fibonnaci.Calc(0);

            Assert.AreEqual(0, result);
        }