public void PatriciaTrie_Find_Successful() { _patriciaTrie.Insert("aaa", 1); _patriciaTrie.Insert("aaabbb", 1); _patriciaTrie.Insert("aaaccd", 2); _patriciaTrie.Insert("aaacce", 3); Assert.IsTrue(_patriciaTrie.Lookup("aaa")); Assert.IsTrue(_patriciaTrie.Lookup("aaabbb")); Assert.IsTrue(_patriciaTrie.Lookup("aaaccd")); Assert.IsTrue(_patriciaTrie.Lookup("aaacce")); Assert.IsFalse(_patriciaTrie.Lookup("a")); Assert.IsFalse(_patriciaTrie.Lookup("")); Assert.IsFalse(_patriciaTrie.Lookup("aaab")); Assert.IsFalse(_patriciaTrie.Lookup("aaaccde")); }