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

22 lines
350 B
C++
Raw Normal View History

#include <testcase.hpp>
2020-10-16 03:25:52 -04:00
#include "testcase.pb.h"
2020-10-16 03:25:52 -04:00
int main() {
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");
}