Skip to content

Commit

Permalink
Add test case for point outside of referenced area
Browse files Browse the repository at this point in the history
  • Loading branch information
domi-b committed Jan 9, 2024
1 parent 6e81648 commit 1ded8ec
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/test/data/IsInside/TestData.xtf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,45 @@
</geom:multisurface>
</TestSuite:testAttributeKantonsgrenze>
</TestSuite:IsInsideKantonsgrenze>
<TestSuite:IsInsideKantonsgrenze ili:tid="3"> <!-- Erwartet: 2D-Punkt: liegt ausserhalb, c1 der Fläche verschoben -->
<TestSuite:expected>false</TestSuite:expected>
<TestSuite:testAttributeIsInsideKantonsgrenze>
<geom:coord>
<geom:c1>2620570.500</geom:c1>
<geom:c2>1237151.400</geom:c2>
</geom:coord>
</TestSuite:testAttributeIsInsideKantonsgrenze>
<TestSuite:testAttributeKantonsgrenze>
<geom:multisurface>
<geom:surface>
<geom:exterior>
<geom:polyline>
<geom:coord>
<geom:c1>2691994.000</geom:c1>
<geom:c2>1262353.000</geom:c2>
</geom:coord>
<geom:coord>
<geom:c1>2745900.000</geom:c1>
<geom:c2>1262353.000</geom:c2>
</geom:coord>
<geom:coord>
<geom:c1>2745900.000</geom:c1>
<geom:c2>1211927.000</geom:c2>
</geom:coord>
<geom:coord>
<geom:c1>2691994.000</geom:c1>
<geom:c2>1211927.000</geom:c2>
</geom:coord>
<geom:coord>
<geom:c1>2691994.000</geom:c1>
<geom:c2>1262353.000</geom:c2>
</geom:coord>
</geom:polyline>
</geom:exterior>
</geom:surface>
</geom:multisurface>
</TestSuite:testAttributeKantonsgrenze>
</TestSuite:IsInsideKantonsgrenze>
</TestSuite:FunctionTestTopic>
</ili:datasection>
</ili:transfer>

0 comments on commit 1ded8ec

Please sign in to comment.