Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
aff13def
Commit
aff13def
authored
Oct 11, 2023
by
Matthias Betz
Browse files
set gmlid before copy
parent
68257070
Pipeline
#8508
passed with stage
in 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/utils/CopyTest.java
View file @
aff13def
...
...
@@ -26,12 +26,14 @@ import org.junit.Test;
import
de.hft.stuttgart.citydoctor2.datastructure.Geometry
;
import
de.hft.stuttgart.citydoctor2.datastructure.GeometryTestUtils
;
import
de.hft.stuttgart.citydoctor2.datastructure.GeometryType
;
import
de.hft.stuttgart.citydoctor2.datastructure.GmlId
;
public
class
CopyTest
{
@Test
public
void
testCopy
()
{
Geometry
geometry
=
GeometryTestUtils
.
createDummyGeometry
(
GeometryType
.
COMPOSITE_SURFACE
);
geometry
.
setGmlId
(
new
GmlId
(
"test"
));
Geometry
copy
=
Copy
.
copy
(
geometry
);
assertEquals
(
geometry
.
getType
(),
copy
.
getType
());
assertEquals
(
geometry
.
getLod
(),
copy
.
getLod
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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