public void OSetimoElementoDeveSer13()
        {
            var result = Fibonacci.Elemento(7);

            Assert.AreEqual(13, result);
        }
        public void OPrimeiroElementoDeveSer0()
        {
            var result = Fibonacci.Elemento(0);

            Assert.AreEqual(0, result);
        }
        public void OSegundoElementoDeveSer1()
        {
            var result = Fibonacci.Elemento(1);

            Assert.AreEqual(1, result);
        }
Exemple #4
0
        public void OPrimeiroElementoDeveSer0()
        {
            var result = Fibonacci.Elemento(0);

            Assert.AreEqual(0, result, "Diferente de zero.");
        }