MCPcopy Create free account
hub / github.com/alibaba/zvec / TEST_F

Function TEST_F

tests/db/index/segment/sql_expr_validator_test.cc:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61TEST_F(ExprValidatorTest, SingleNumericColumn_Valid) {
62 auto result = ParseAndValidate("int32_col", schema_);
63 EXPECT_TRUE(result.ok()) << result.status().ToString();
64
65 result = ParseAndValidate("double_col", schema_);
66 EXPECT_TRUE(result.ok()) << result.status().ToString();
67}
68
69TEST_F(ExprValidatorTest, UnaryPositive_Supported) {
70 auto result = ParseAndValidate("+int32_col", schema_);

Callers

nothing calls this directly

Calls 4

ParseAndValidateFunction · 0.85
ToStringMethod · 0.80
statusMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected