コード例 #1
0
 public void TheSumOfEvenTermsInFibonacciSequenceWhoseValuesDoNotExceedFourMillionMustBe4613732()
 {
     const int expected = 4613732;
     var result = new EulerProblem002(4000000).Solve();
     result.Should().Be(expected);
 }
コード例 #2
0
 public void TheSumOfEven10FirstTermsInFibonacciSequenceMustBe44()
 {
     const int expected = 44;
     var result = new EulerProblem002(89).Solve();
     result.Should().Be(expected);
 }