示例#1
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci9(self):
     self.assertEqual(problem2.sumEvenFibonacci(9), 10)
示例#2
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci7(self):
     self.assertEqual(problem2.sumEvenFibonacci(7), 2)
示例#3
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci4000000(self):
     self.assertEqual(problem2.sumEvenFibonacci(4000000), 4613732)
示例#4
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci1EdgeCase1(self):
     self.assertEqual(problem2.sumEvenFibonacci(1), 0)
示例#5
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci1EdgeCaseNegative(self):
     self.assertEqual(problem2.sumEvenFibonacci(-1), 0)
示例#6
0
文件: test2.py 项目: CronoxAU/Euler
 def test_sumEvenFibonacci145(self):
     self.assertEqual(problem2.sumEvenFibonacci(145), 188)