Changeset 11157
- Timestamp:
- Mar 26, 2016, 3:02:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/test/util/StringUtilsTest.cc
r9114 r11157 267 267 EXPECT_EQ(0, nocaseCmp("TesT", "teST")); 268 268 269 EXPECT_EQ(strcmp("a", "b") , nocaseCmp("a", "b"));270 EXPECT_EQ(strcmp("b", "a") , nocaseCmp("b", "a"));271 EXPECT_EQ(strcmp("hello", "world") , nocaseCmp("hello", "world"));269 EXPECT_EQ(strcmp("a", "b") < 0, nocaseCmp("a", "b") < 0); 270 EXPECT_EQ(strcmp("b", "a") > 0, nocaseCmp("b", "a") > 0); 271 EXPECT_EQ(strcmp("hello", "world") < 0, nocaseCmp("hello", "world") < 0); 272 272 } 273 273
Note: See TracChangeset
for help on using the changeset viewer.