def test_atoi(self): self.assertEqual(string.atoi('123'), 123)
def test_atoi_neg(self): self.assertEqual(string.atoi('-123'), -123)