def test_fibonacci(self):
        """Tests that fibonacci() returns the correct values."""
        expected = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377,
                    610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657,
                    46368, 75025, 121393, 196418, 317811, 514229]

        returned = task_01.fibonacci(612782)
        self.assertEqual(returned, expected)
    def test_fibonacci(self):
        """Tests that fibonacci() returns the correct values."""
        expected = [
            0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,
            1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393,
            196418, 317811, 514229
        ]

        returned = task_01.fibonacci(612782)
        self.assertEqual(returned, expected)
 def test_maxint_required(self):
     """Tests that to_analyze is a required argument"""
     with self.assertRaises(TypeError):
         task_01.fibonacci()
 def test_maxint_required(self):
     """Tests that to_analyze is a required argument"""
     with self.assertRaises(TypeError):
         task_01.fibonacci()