Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
35458517
Commit
35458517
authored
May 05, 2017
by
duminil
Browse files
RegionChooser: Testing if other elements than Buildings are extracted.
parent
809a82ae
Changes
1
Show whitespace changes
Inline
Side-by-side
test/eu/simstadt/regionchooser/test/RegionExtractorTests.java
View file @
35458517
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment