mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 04:53:54 +00:00
@@ -9,16 +9,16 @@ using namespace editor;
|
||||
|
||||
UNIT_TEST(loadConfigFile)
|
||||
{
|
||||
// loadConfigFile() is executed in the constructor
|
||||
// LoadConfigFile() is executed in the constructor
|
||||
TypeToOSMTranslator typeToOsm;
|
||||
}
|
||||
|
||||
UNIT_TEST(osmTagsFromType)
|
||||
UNIT_TEST(OsmTagsFromType)
|
||||
{
|
||||
classificator::Load();
|
||||
|
||||
uint32_t type = classif().GetTypeByReadableObjectName("amenity-restaurant");
|
||||
std::vector<OSMTag> resultVector = getOSMTranslator().osmTagsFromType(type);
|
||||
std::vector<OSMTag> resultVector = GetOSMTranslator().OsmTagsFromType(type);
|
||||
|
||||
TEST_EQUAL(resultVector.size(), 1, ());
|
||||
OSMTag const & result = resultVector.front();
|
||||
|
||||
Reference in New Issue
Block a user