Lines Matching refs:isPunctuation
290 TEST(CharInfoTest, isPunctuation) {
291 EXPECT_FALSE(isPunctuation('0'));
292 EXPECT_FALSE(isPunctuation('9'));
294 EXPECT_FALSE(isPunctuation('a'));
295 EXPECT_FALSE(isPunctuation('A'));
297 EXPECT_FALSE(isPunctuation('z'));
298 EXPECT_FALSE(isPunctuation('Z'));
300 EXPECT_TRUE(isPunctuation('.'));
301 EXPECT_TRUE(isPunctuation('_'));
303 EXPECT_TRUE(isPunctuation('/'));
304 EXPECT_TRUE(isPunctuation('('));
306 EXPECT_FALSE(isPunctuation(' '));
307 EXPECT_FALSE(isPunctuation('\n'));
308 EXPECT_FALSE(isPunctuation('\0'));
310 EXPECT_FALSE(isPunctuation('\x80'));
311 EXPECT_FALSE(isPunctuation('\xc2'));
312 EXPECT_FALSE(isPunctuation('\xff'));