osrm-backend/third_party/protozero/test/t/bool/testcase.cpp

21 lines
368 B
C++
Raw Normal View History

#include <testcase.hpp>
#include "testcase.pb.h"
int main(int c, char *argv[]) {
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");
}