Commit 35458517 authored by duminil's avatar duminil
Browse files

RegionChooser: Testing if other elements than Buildings are extracted.

parent 809a82ae
package eu.simstadt.regionchooser.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.nio.file.Path;
import java.nio.file.Paths;
......@@ -53,6 +54,8 @@ public void testExtract3BuildingsFromNAD83Model() throws Throwable {
assertTrue(archGMLString.contains("uuid_0985cebb-922d-4b3e-95e5-15dc6089cd28"));
assertTrue(archGMLString.contains("<CityModel")); // Header
assertTrue(archGMLString.contains("</CityModel")); // Footer
assertFalse(archGMLString.contains("comment between buildings")); // Comment
assertFalse(archGMLString.contains("comment after last building")); // Comment
}
@Test
......
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