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
|
|
|
TestFloat::Test msg;
|
|
|
|
|
|
|
|
msg.set_x(0.0);
|
|
|
|
write_to_file(msg, "data-zero.pbf");
|
|
|
|
|
|
|
|
msg.set_x(5.34);
|
|
|
|
write_to_file(msg, "data-pos.pbf");
|
|
|
|
|
|
|
|
msg.set_x(-1.71);
|
|
|
|
write_to_file(msg, "data-neg.pbf");
|
|
|
|
}
|
|
|
|
|