| 362 | } |
| 363 | |
| 364 | void TestInDeprecatedList(const CelList* cel_list, const CelValue& value, |
| 365 | bool result) { |
| 366 | CelValue result_value; |
| 367 | ASSERT_NO_FATAL_FAILURE(PerformRun(builtin::kInDeprecated, {}, |
| 368 | {value, CelValue::CreateList(cel_list)}, |
| 369 | &result_value)); |
| 370 | |
| 371 | ASSERT_EQ(result_value.IsBool(), true); |
| 372 | ASSERT_EQ(result_value.BoolOrDie(), result) |
| 373 | << " for " << CelValue::TypeName(value.type()); |
| 374 | } |
| 375 | |
| 376 | void TestInFunctionList(const CelList* cel_list, const CelValue& value, |
| 377 | bool result) { |
nothing calls this directly
no test coverage detected