MCPcopy Create free account
hub / github.com/chen3feng/toft / TEST

Function TEST

base/string/algorithm_test.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace toft {
20
21TEST(String, WhiteSpace)
22{
23 ASSERT_TRUE(IsWhiteString(""));
24 ASSERT_TRUE(IsWhiteString("\t\r\n "));
25 ASSERT_FALSE(IsWhiteString("\t\r\\"));
26 ASSERT_TRUE(IsCharInString('\\', "c:\\"));
27}
28
29TEST(String, Prefix)
30{

Callers

nothing calls this directly

Calls 15

IsWhiteStringFunction · 0.85
IsCharInStringFunction · 0.85
StringStartsWithFunction · 0.85
StringRemovePrefixFunction · 0.85
StringEndsWithFunction · 0.85
StringRemoveSuffixFunction · 0.85
StringPieceClass · 0.85
StringToUpperFunction · 0.85
StringToLowerFunction · 0.85
UpperStringFunction · 0.85
LowerStringFunction · 0.85

Tested by

no test coverage detected