Example #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)
Example #2
0
def main():
    print('Functionally - ' + str(find_sum()))
    print('Objectively  - ' + str(FibonacciSequence().even_sum()))
Example #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)