17 TestMessageWithoutOptions original = TestMessageWithoutOptions_init_zero;
22 TEST(
pb_encode(&ostream, &TestMessageWithoutOptions_msg, &original));
24 written = ostream.bytes_written;
28 TestMessageWithoutOptions decoded = TestMessageWithoutOptions_init_zero;
30 TEST(
pb_decode(&istream, &TestMessageWithoutOptions_msg, &decoded));
32 TEST(decoded.number == 45);