Exemplo n.º 1
0
 private void assertSumOfEvenFiboWhichDoesNotExceed(BigInteger bound, BigInteger exp)
 {
     Assert.AreEqual(exp, soef.getSumOfEvenFibNumWhichDoesNotExceed(bound));
 }
Exemplo n.º 2
0
        private static void runSumOfEvenFibonacci()
        {
            SumOfEvenFibonacci soef = new SumOfEvenFibonacci();

            Console.WriteLine(soef.getSumOfEvenFibNumWhichDoesNotExceed(4000000));
        }