2018-04-19 15:03:49 -04:00
|
|
|
|
|
|
|
#include <testcase.hpp>
|
2020-10-16 03:25:52 -04:00
|
|
|
|
2018-04-19 15:03:49 -04:00
|
|
|
#include "testcase.pb.h"
|
|
|
|
|
2020-10-16 03:25:52 -04:00
|
|
|
int main() {
|
2018-04-19 15:03:49 -04:00
|
|
|
TestBoolean::Test msg;
|
|
|
|
|
|
|
|
msg.set_b(0);
|
|
|
|
write_to_file(msg, "data-false.pbf");
|
|
|
|
|
|
|
|
msg.set_b(1);
|
|
|
|
write_to_file(msg, "data-true.pbf");
|
|
|
|
|
|
|
|
msg.set_b(2);
|
|
|
|
write_to_file(msg, "data-also-true.pbf");
|
|
|
|
|
|
|
|
msg.set_b(2000);
|
|
|
|
write_to_file(msg, "data-still-true.pbf");
|
|
|
|
}
|
|
|
|
|