MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / ASSERT_OK_AND_ASSIGN

Function ASSERT_OK_AND_ASSIGN

common/values/map_value_test.cc:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98TEST_F(MapValueTest, DebugString) {
99 ASSERT_OK_AND_ASSIGN(
100 auto value,
101 NewIntDoubleMapValue(std::pair{IntValue(0), DoubleValue(3.0)},
102 std::pair{IntValue(1), DoubleValue(4.0)},
103 std::pair{IntValue(2), DoubleValue(5.0)}));
104 {
105 std::ostringstream out;
106 out << value;
107 EXPECT_THAT(out.str(), Not(IsEmpty()));
108 }
109 {
110 std::ostringstream out;
111 out << Value(value);

Callers 3

TEST_FFunction · 0.70
TEST_FFunction · 0.70
TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected