| 25 | using std::shared_ptr; |
| 26 | |
| 27 | TEST(Compare, istringEqual) { |
| 28 | LOG_FREE(Info, "Compare", "Entering istringEqual") |
| 29 | |
| 30 | // make sure insensitive string compare works |
| 31 | EXPECT_TRUE(istringEqual("lorem ipsum", "lorem ipsum")); |
| 32 | EXPECT_TRUE(istringEqual("lorem ipsum", "LOREM IPSUM")); |
| 33 | EXPECT_TRUE(istringEqual("lorem ipsum", "lOrEm IpsUm")); |
| 34 | EXPECT_TRUE(istringEqual("lorem ipsum", "LoReM iPSuM")); |
| 35 | EXPECT_FALSE(istringEqual("lorem ipsum", "dolor sit amet")); |
| 36 | |
| 37 | LOG_FREE(Info, "Compare", "Leaving istringEqual") |
| 38 | } |
| 39 | |
| 40 | TEST(Compare, istringEqualMixed) { |
| 41 | LOG_FREE(Info, "Compare", "Entering istringEqualMixed") |
nothing calls this directly
no test coverage detected