16 TestMessageWithoutOptions original = TestMessageWithoutOptions_init_zero;
21 TEST(
pb_encode(&ostream, &TestMessageWithoutOptions_msg, &original));
23 written = ostream.bytes_written;
27 TestMessageWithoutOptions decoded = TestMessageWithoutOptions_init_zero;
29 TEST(
pb_decode(&istream, &TestMessageWithoutOptions_msg, &decoded));
31 TEST(decoded.number == 45);