def test_tokens(self): for i in self.are_tokens: result = tokenize(i[0]) self.assertEqual(i[1],result)
def test_tokens(self): for i in self.are_tokens: result = tokenize(i[0]) self.assertEqual(i[1], result)
def test_for_identifiers(self): for i in self.are_identifiers: result = tokenize(i[0]) self.assertEqual(i[1],result)
def test_for_identifiers(self): for i in self.are_identifiers: result = tokenize(i[0]) self.assertEqual(i[1], result)