Commit cfe468ea authored by Eric Duminil's avatar Eric Duminil
Browse files

Added tests.

parent a34fa4c4
Pipeline #8925 passed with stage
in 36 seconds
......@@ -179,6 +179,15 @@ void testExtractBuildingsAndTrees() throws Throwable {
assertEquals(4, countRegexMatches(gmlWithSomeBuildingAndTrees, "<bldg:Building gml:id"));
assertEquals(1, countRegexMatches(gmlWithSomeBuildingAndTrees, "<veg:PlantCover gml:id"));
assertEquals(3, countRegexMatches(gmlWithSomeBuildingAndTrees, "<veg:SolitaryVegetationObject gml:id"));
"Building in another corner should not be included");
"Building in another corner should not be included");
"Tree in corner should be included");
assertTrue(gmlWithSomeBuildingAndTrees.contains("DEBY_LOD2_605227"), "Building in corner should be included");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment