Esempio n. 1
0
 def test_find_sum(self):
     # It works without an argument
     self.assertEqual(find_sum(), 4613732)
     # It works with an argument
     self.assertEqual(find_sum(35), 44)
Esempio n. 2
0
def main():
    print('Functionally - ' + str(find_sum()))
    print('Objectively  - ' + str(FibonacciSequence().even_sum()))
Esempio n. 3
0
 def test_find_sum(self):
     # It works without an argument
     self.assertEqual(find_sum(), 4613732)
     # It works with an argument
     self.assertEqual(find_sum(35), 44)