﻿using NUnit.Framework;

namespace ProjectEuler.Test
{
    [TestFixture]
    public class FibonacciTests
    {
        [TestCase(0, Result = 0)]
        [TestCase(1, Result = 1)]
        [TestCase(2, Result = 1)]
        [TestCase(3, Result = 2)]
        [TestCase(4, Result = 3)]
        [TestCase(5, Result = 5)]
        [TestCase(6, Result = 8)]
        public int ShouldReturnRightResult(int n)
        {
            return Euler.Fibonacci(n);
        }
    }
}
