| 118 | } |
| 119 | |
| 120 | TEST_P(ByteStringTest, Default) { |
| 121 | ByteString byte_string = ByteString(GetAllocator(), ""); |
| 122 | EXPECT_THAT(byte_string, SizeIs(0)); |
| 123 | EXPECT_THAT(byte_string, IsEmpty()); |
| 124 | EXPECT_EQ(GetKind(byte_string), ByteStringKind::kSmall); |
| 125 | } |
| 126 | |
| 127 | TEST_P(ByteStringTest, ConstructSmallCString) { |
| 128 | ByteString byte_string = ByteString(GetAllocator(), GetSmallString().c_str()); |
nothing calls this directly
no test coverage detected