MCPcopy Create free account
hub / github.com/bytedance/bolt / assertIsAscii

Function assertIsAscii

bolt/vector/tests/SimpleVectorTest.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void assertIsAscii(
67 const SimpleVectorPtr<StringView>& vector,
68 const SelectivityVector& rows,
69 bool expected) {
70 auto ascii = vector->isAscii(rows);
71 ASSERT_TRUE(ascii.has_value());
72 ASSERT_EQ(ascii.value(), expected);
73};
74
75} // namespace
76

Callers 1

TEST_FFunction · 0.85

Calls 3

isAsciiMethod · 0.80
has_valueMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected