
#include <testcase.hpp>
#include "testcase.pb.h"

int main(int c, char *argv[]) {
    TestRepeatedPackedSInt32::Test msg;

    write_to_file(msg, "data-empty.pbf");

    msg.add_i(17L);
    write_to_file(msg, "data-one.pbf");

    msg.add_i(0L);
    msg.add_i(1L);
    msg.add_i(-1L);
    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");
}

