Lines Matching full:foo*
162 DE_TEST_ASSERT(toString("foo") == "foo");
163 DE_TEST_ASSERT(toLower("FooBar") == "foobar");
164 DE_TEST_ASSERT(toUpper("FooBar") == "FOOBAR");
167 vector <string> tokens(splitString(" foo bar\n\tbaz "));
169 DE_TEST_ASSERT(tokens[0] == "foo");
176 DE_TEST_ASSERT(beginsWith("foobar", "foobar"));
177 DE_TEST_ASSERT(beginsWith("foobar", "foo"));
178 DE_TEST_ASSERT(beginsWith("foobar", "f"));
179 DE_TEST_ASSERT(beginsWith("foobar", ""));
181 DE_TEST_ASSERT(!beginsWith("foobar", "bar"));
182 DE_TEST_ASSERT(!beginsWith("foobar", "foobarbaz"));
183 DE_TEST_ASSERT(!beginsWith("", "foo"));
185 DE_TEST_ASSERT(endsWith("foobar", "foobar"));
186 DE_TEST_ASSERT(endsWith("foobar", "bar"));
187 DE_TEST_ASSERT(endsWith("foobar", "r"));
188 DE_TEST_ASSERT(endsWith("foobar", ""));
190 DE_TEST_ASSERT(!endsWith("foobar", "foo"));
191 DE_TEST_ASSERT(!endsWith("foobar", "bazfoobar"));
192 DE_TEST_ASSERT(!endsWith("foobar", "foobarbaz"));
193 DE_TEST_ASSERT(!endsWith("", "foo"));