示例#1
0
 def test_unique_words(self):
     parser = Parser()
     result = parser.get_unique_words("hola si is no no")
     self.assertEqual(4, result)
示例#2
0
 def test_unique_words_sample2(self):
     parser = Parser()
     result = parser.get_unique_words("hola si is no no casa casa casa")
     self.assertEqual(5, result)