76 std::vector <Map2DArea> areas;
77 std::vector <Map2DLocation>
locs;
97 v.
x = 1.1; v.
y = 1.1;
vec1.push_back(v);
98 v.
x = 1.2; v.
y = 1.2;
vec1.push_back(v);
99 v.
x = 1.3; v.
y = 1.3;
vec1.push_back(v);
149 ret =
imap->renameLocation(
"loc_fail",
"loc_new");
CHECK(
ret ==
false);
164 std::vector <Map2DPath> paths;
165 std::vector <Map2DLocation>
locs;
186 v.
x = 1.1; v.
y = 1.1;
vec1.push_back(v);
187 v.
x = 1.2; v.
y = 1.2;
vec1.push_back(v);
188 v.
x = 1.3; v.
y = 1.3;
vec1.push_back(v);
238 ret =
imap->renameLocation(
"loc_fail",
"loc_new");
CHECK(
ret ==
false);
261 std::vector<std::string> map_names;
268 imap->get_map_names(map_names);
269 bool b1 = (map_names.size() == 2);
272 b2 = (map_names[0] ==
"test_map1" && map_names[1] ==
"test_map2");
278 imap->remove_map(
"test_map1");
279 imap->get_map_names(map_names);
280 b1 = (map_names.size() == 1);
283 imap->clearAllMaps();
284 imap->get_map_names(map_names);
285 b1 = (map_names.size() == 0);