class SummerTestCase(unittest.TestCase): def setUp(self): self.s = Summer() def assert_input(self, input, output): result = self.s.readline(input) self.assertEqual(result, output) def ensure_input(self, input): result = self.s.readline(input) self.assertEqual(result, input)
def setUp(self): self.s = Summer()