37 #include <gtest/gtest.h> 42 char argv[1][255] = {
"string" };
43 ros::init(argc, (
char**)argv,
"locale_push_pop");
46 ROS_INFO(
"locale is %s", setlocale(LC_NUMERIC, 0));
49 if (!setlocale(LC_NUMERIC,
"de_DE.utf8"))
51 ROS_WARN(
"unable to set locale to de_DE.utf8, skipping test");
54 ROS_INFO(
"locale now %s", setlocale(LC_NUMERIC, 0));
55 for(
unsigned j=0;
ros::ok() && j < 5; ++j)
65 ROS_INFO(
"got pi=%3f <- should have commas in it", got);
76 main(
int argc,
char** argv)
79 testing::InitGoogleTest(&argc, argv);
80 return RUN_ALL_TESTS();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool getParam(const std::string &key, std::string &s) const
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const
int main(int argc, char **argv)