| 175 | }; |
| 176 | |
| 177 | TEST_F(FunctionResolutionTest, rank1Picked) { |
| 178 | registerFunction<TestFunction, int32_t, int32_t, int32_t>({"f1"}); |
| 179 | registerFunction<TestFunction, int32_t, Variadic<int32_t>>({"f1"}); |
| 180 | registerFunction<TestFunction, int32_t, Generic<T1>, Generic<T1>>({"f1"}); |
| 181 | registerFunction<TestFunction, int32_t, Variadic<Any>>({"f1"}); |
| 182 | |
| 183 | checkResults("f1", 1); |
| 184 | } |
| 185 | |
| 186 | TEST_F(FunctionResolutionTest, rank2Picked) { |
| 187 | registerFunction<TestFunction, int32_t, Variadic<int32_t>>({"f2"}); |
nothing calls this directly
no test coverage detected