5 #include <glog/logging.h>
7 int main(int argc
, char* argv
[])
10 CHECK(!iequal("a", ""));
11 CHECK(!iequal("", "b"));
13 CHECK(iequal("string", "StRiNg"));
14 CHECK(!iequal("NOT string", "string"));
16 CHECK(istarts_with("FooBarBaz", "foo"));
17 CHECK(iends_with("FooBarBaz", "baz"));
19 CHECK(istarts_with("foo", "Foo"));
20 CHECK(iends_with("Bar", "bar"));
22 CHECK(!istarts_with("foo", "foobarbaz"));
23 CHECK(!iends_with("FooBarBaz", "bbaz"));