| 25 | // |
| 26 | |
| 27 | TEST_F(StringTests, |
| 28 | HasOnlyDecimalDigitsHasOnlyDecimalDigits) { |
| 29 | EXPECT_TRUE(hasOnlyDecimalDigits("")); |
| 30 | EXPECT_TRUE(hasOnlyDecimalDigits("1")); |
| 31 | EXPECT_TRUE(hasOnlyDecimalDigits("134573908")); |
| 32 | EXPECT_TRUE(hasOnlyDecimalDigits("0123456789")); |
| 33 | |
| 34 | EXPECT_FALSE(hasOnlyDecimalDigits("b")); |
| 35 | EXPECT_FALSE(hasOnlyHexadecimalDigits("#")); |
| 36 | EXPECT_FALSE(hasOnlyDecimalDigits("86c435")); |
| 37 | } |
| 38 | |
| 39 | // |
| 40 | // hasOnlyHexadecimalDigits() |
nothing calls this directly
no test coverage detected