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

Function assertCannotResolve

bolt/expression/tests/SignatureBinderTest.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void assertCannotResolve(
53 const std::shared_ptr<exec::FunctionSignature>& signature,
54 const std::vector<TypePtr>& actualTypes) {
55 exec::SignatureBinder binder(*signature, actualTypes);
56 ASSERT_FALSE(binder.tryBind());
57}
58
59TEST(SignatureBinderTest, decimals) {
60 // Decimal Add/Subtract.

Callers 1

TESTFunction · 0.85

Calls 1

tryBindMethod · 0.45

Tested by

no test coverage detected