1 #include <gtest/gtest.h>
5 TEST(MotorParameterTests, getParamOrDefaultTest) {
9 ASSERT_TRUE(nh.
getParam(
"getParamOrDefaultTest", foo));
15 TEST(MotorParameterTests, NodeParamTest) {
19 nh.
setParam(
"ubiquity_motor/controller_loop_rate", 50.0);
24 TEST(MotorParameterTests, CommsParamsTest) {
28 nh.
setParam(
"ubiquity_motor/serial_port",
"/dev/foo");
33 int main(
int argc,
char **argv) {
34 testing::InitGoogleTest(&argc, argv);
36 return RUN_ALL_TESTS();