mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[tests] Update tests for new wetland types
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
f1ec689532
commit
b0f338273b
@@ -86,7 +86,6 @@ highway=platform : highway=pedestrian
|
||||
|
||||
man_made=quay : man_made=pier
|
||||
|
||||
natural=marsh : natural=wetland, wetland=marsh
|
||||
natural=waterfall : waterway=waterfall
|
||||
natural=forest : natural=wood
|
||||
natural=shrubbery : natural=scrub
|
||||
|
||||
@@ -2935,6 +2935,14 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_ComplexTypesSmoke)
|
||||
{{"natural", "water", "lock"}, {{"natural", "water"}, {"water", "lock"}}},
|
||||
{{"natural", "wetland", "bog"}, {{"natural", "wetland"}, {"wetland", "bog"}}},
|
||||
{{"natural", "wetland", "marsh"}, {{"natural", "wetland"}, {"wetland", "marsh"}}},
|
||||
{{"natural", "wetland", "marsh"}, {{"natural", "wetland"}, {"wetland", "wet_meadow"}}},
|
||||
{{"natural", "wetland", "saltmarsh"}, {{"natural", "wetland"}, {"wetland", "saltmarsh"}}},
|
||||
{{"natural", "wetland", "saltmarsh", "tidal"}, {{"natural", "wetland"}, {"wetland", "saltmarsh"}, {"tidal", "yes"}}},
|
||||
{{"natural", "wetland", "fen"}, {{"natural", "wetland"}, {"wetland", "fen"}}},
|
||||
{{"natural", "wetland", "reedbed"}, {{"natural", "wetland"}, {"wetland", "reedbed"}}},
|
||||
{{"natural", "wetland", "swamp"}, {{"natural", "wetland"}, {"wetland", "swamp"}}},
|
||||
{{"natural", "wetland", "mangrove"}, {{"natural", "wetland"}, {"wetland", "mangrove"}}},
|
||||
{{"natural", "wetland", "tidalflat"}, {{"natural", "wetland"}, {"wetland", "tidalflat"}}},
|
||||
{{"office"}, {{"office", "any_value"}}},
|
||||
{{"piste:type", "downhill", "advanced"}, {{"piste:type", "downhill"}, {"piste:difficulty", "advanced"}}},
|
||||
{{"piste:type", "downhill", "easy"}, {{"piste:type", "downhill"}, {"piste:difficulty", "easy"}}},
|
||||
|
||||
@@ -72,10 +72,6 @@ UNIT_TEST(TagsReplacer_Smoke)
|
||||
" aerodrome:type = international : aerodrome = international ";
|
||||
TestReplacer(source, {{{"aerodrome:type", "international"}, {{"aerodrome", "international"}}}});
|
||||
}
|
||||
{
|
||||
std::string const source = "natural=marsh : natural=wetland, wetland=marsh";
|
||||
TestReplacer(source, {{{"natural", "marsh"}, {{"natural", "wetland"}, {"wetland", "marsh"}}}});
|
||||
}
|
||||
{
|
||||
std::string const source =
|
||||
"natural = forest : natural = wood\n"
|
||||
|
||||
Reference in New Issue
Block a user