| 157 | } |
| 158 | |
| 159 | std::shared_ptr<Configuration> TestConfigWithHolderFunction( |
| 160 | std::shared_ptr<FunctionRegistry> registry) { |
| 161 | return BuildConfigurationWithRegistry(std::move(registry), [](auto reg) { |
| 162 | return reg->Register( |
| 163 | GetTestFunctionWithFunctionHolder(), reinterpret_cast<void*>(multiply_by_n), |
| 164 | [](const FunctionNode& node) { return MultiplyHolder::Make(node); }); |
| 165 | }); |
| 166 | } |
| 167 | |
| 168 | std::shared_ptr<Configuration> TestConfigWithContextFunction( |
| 169 | std::shared_ptr<FunctionRegistry> registry) { |
no test coverage detected