| 25 | using google::protobuf::Arena; |
| 26 | |
| 27 | TEST(ValueExportUtilTest, ConvertBoolValue) { |
| 28 | CelValue cel_value = CelValue::CreateBool(true); |
| 29 | Value value; |
| 30 | EXPECT_OK(ExportAsProtoValue(cel_value, &value)); |
| 31 | EXPECT_EQ(value.kind_case(), Value::KindCase::kBoolValue); |
| 32 | EXPECT_EQ(value.bool_value(), true); |
| 33 | } |
| 34 | |
| 35 | TEST(ValueExportUtilTest, ConvertInt64Value) { |
| 36 | CelValue cel_value = CelValue::CreateInt64(-1); |
nothing calls this directly
no test coverage detected