!7 p-exp { set flag fullPhraseCache_longestPhraseLength_debug. new FullPhraseCache cache; cache.add("hello world"); printStruct(cache); assertTrueVerbose(fullPhraseCache_contains(cache, "hello world")); assertTrueVerbose(fullPhraseCache_contains(cache, "HELLo... world")); assertFalseVerbose(fullPhraseCache_contains(cache, "HELLo...")); assertFalseVerbose(fullPhraseCache_contains(cache, "world")); assertEqualsVerbose(5, fullPhraseCache_longestPhraseLength(cache, "HELLo... world")); assertEqualsVerbose(5, fullPhraseCache_longestPhraseLength(cache, "HELLo world yo")); assertEqualsVerbose(7, fullPhraseCache_longestPhraseLength(cache, javaTokNPunctuation("yo hello world yo"), 3)); assertEqualsVerbose(-1, fullPhraseCache_longestPhraseLength(cache, "HELLo")); cache.add("HELLO"); assertTrueVerbose(fullPhraseCache_contains(cache, "HELLo...")); assertTrueVerbose(fullPhraseCache_contains(cache, "HELLo... world")); }