def test_four(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '1 2 3 4 5 6', ]) + '\n')
def test_one(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '1 2', ]) + '\n')
def test_three(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '2 1 3', ]) + '\n')
def test_input(self, stdout): main() self.assertEqual(stdout.getvalue(), "\n".join([ '3 2 1 4', ]) + '\n')