MCPcopy Create free account
hub / github.com/apache/impala / SmallifySVExpect

Method SmallifySVExpect

be/src/runtime/string-value-test.cc:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 void SmallifySV(StringValue* sv) { sv->Smallify(); }
72
73 void SmallifySVExpect(StringValue* sv, bool expect_to_succeed) {
74 if (expect_to_succeed) {
75 EXPECT_TRUE(sv->Smallify());
76 } else {
77 EXPECT_FALSE(sv->Smallify());
78 }
79 }
80
81 void TestLargestSmallerString(StringValue& sv, const string& expected) {
82 EXPECT_EQ(sv.LargestSmallerString(), expected);

Callers

nothing calls this directly

Calls 1

SmallifyMethod · 0.45

Tested by

no test coverage detected