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
|
|
|
TestRepeated::Test msg;
|
|
|
|
|
|
|
|
write_to_file(msg, "data-empty.pbf");
|
|
|
|
|
|
|
|
msg.add_i(0);
|
|
|
|
write_to_file(msg, "data-one.pbf");
|
|
|
|
|
|
|
|
msg.add_i(1);
|
|
|
|
msg.add_i(-1);
|
|
|
|
msg.add_i(std::numeric_limits<int32_t>::max());
|
|
|
|
msg.add_i(std::numeric_limits<int32_t>::min());
|
|
|
|
write_to_file(msg, "data-many.pbf");
|
|
|
|
}
|
|
|
|
|