LoadFromStream

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-12-11 16:17:37 +01:00
parent 5d505daff5
commit dcfed1d9b3
4 changed files with 29 additions and 23 deletions

View File

@@ -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();