#include #include "testcase.pb.h" int main(int c, char *argv[]) { TestSInt64::Test msg; msg.set_i(0LL); write_to_file(msg, "data-zero.pbf"); msg.set_i(1LL); write_to_file(msg, "data-pos.pbf"); msg.set_i(200LL); write_to_file(msg, "data-pos200.pbf"); msg.set_i(-1LL); write_to_file(msg, "data-neg.pbf"); msg.set_i(-200LL); write_to_file(msg, "data-neg200.pbf"); msg.set_i(std::numeric_limits::max()); write_to_file(msg, "data-max.pbf"); msg.set_i(std::numeric_limits::min()); write_to_file(msg, "data-min.pbf"); }