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