def test_input_four(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '7', ]) + '\n')
def test_input_five(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '109101116', ]) + '\n')
def test_input_two(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '56156', ]) + '\n')