예제 #1
0
 public void GetFibonacci5SumTest()
 {
     Euler target = new Euler();
     int toValue = 5;
     int divisor = 1;
     long expected = 11;
     long actual;
     actual = target.GetFibonacciSum( toValue, divisor );
     Assert.AreEqual( expected, actual );
 }
예제 #2
0
 public void GetFibonacciSum2Test()
 {
     Euler target = new Euler();
     int toValue = 2;
     int divisor = 2;
     long expected = 2;
     long actual;
     actual = target.GetFibonacciSum( toValue, divisor );
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "Verify the correctness of this test method." );
 }