def test_equals(self): self.assertEqual(left(self.text, 5), 'Hello')
def test_equals_9(self): self.assertEqual(left(self.text, 'o'), 'Hell')
def test_equals_11(self): self.assertEqual(left(self.text, ' '), 'Hello')
def test_equals_6(self): self.assertEqual(left(self.text, 99), 'Hello (not so) cruel World!')
def test_equals_5(self): self.assertEqual(left(self.text, 0), '')
def test_equals_4(self): self.assertEqual(left(self.text), 'H')
def test_equals_3(self): self.assertEqual(left(self.text, 1), 'H')
def test_equals_2(self): self.assertEqual(left(self.text, -22), 'Hello')