We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a28d87d commit cb0b9c4Copy full SHA for cb0b9c4
tests/datastructures/trees/trie/test_trie.py
@@ -42,16 +42,6 @@ def test_trie_insert_and_search_words_prefixed_with_he(self):
42
actual2 = trie.search("her")
43
self.assertEqual(["her", "here"], actual2)
44
45
- def test_trie_insert_and_search_words_prefixed_with_he(self):
46
- """Test insert into trie with index on words"""
47
- trie = Trie()
48
- sentence= "here hear he hello how her"
49
- words = sentence.split(" ")
50
- for idx, word in enumerate(words):
51
- trie.insert(word, idx)
52
-
53
- print(trie)
54
55
56
if __name__ == "__main__":
57
unittest.main()
0 commit comments