MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/serialization/test_message.cpp:597–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595};
596
597TEST_F(MessageTest, serializable) {
598 ASSERT_TRUE(SerializeTraits<TestMessage>::SERIALIZABLE);
599 TestMessage m;
600 fill(m, gen);
601 ASSERT_TRUE(Serialization::serialize_to_string(m, string));
602 TestMessage mm;
603 ASSERT_TRUE(Serialization::parse_from_string(string, mm));
604 assert_eq(m, mm);
605}
606
607TEST_F(MessageTest, support_print) {
608 TestMessage m;

Callers

nothing calls this directly

Calls 1

fillFunction · 0.85

Tested by

no test coverage detected