def test_find_matches_per_sentence_with_no_matches(self): result = dp.find_matches_per_sentence(["Hello","Bigx","Datax","hello"],"Big Data") self.assertEqual(["Hello","Bigx","Datax","hello"],result)
def test_find_matches_per_sentence(self): result = dp.find_matches_per_sentence(["Hello","Big","Data","hello"],"Big Data") self.assertEqual(["Hello","[[HIGHLIGHT]]","Big","Data","[[ENDHIGHLIGHT]]","hello"],result)