Skip to content

Commit

Permalink
Remove unnecassary precision from XML tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Dec 9, 2023
1 parent c49ac84 commit 3cb53af
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestBoundary.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>P - point</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestCentroid.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<!-- <precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/> -->

<case>
<desc>P - empty</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestConvexHull-big.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>Big convex hull</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestDistance.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>PeP - point to an empty point</desc>
Expand Down
3 changes: 0 additions & 3 deletions tests/xmltester/tests/general/TestIntersectsPL.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<run>
<desc>Test P/L intersects cases that require robust determinant. See discussion http://trac.osgeo.org/geos/ticket/591</desc>
<!-- first occurrence is used -->
<precisionModel type="FLOATING"/> <!-- passes -->
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/> <!-- passes -->

<case>
<desc>Point on segment between 3rd and 4th vertex of line</desc>
Expand Down
3 changes: 0 additions & 3 deletions tests/xmltester/tests/general/TestPreparedIntersectsPL.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<run>
<desc>Test P/L intersects cases that require robust determinant. See discussion http://trac.osgeo.org/geos/ticket/591</desc>
<!-- first occurrence is used -->
<precisionModel type="FLOATING"/> <!-- passes -->
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/> <!-- passes -->
<geometryOperation>com.vividsolutions.jtstest.geomop.PreparedGeometryOperation</geometryOperation>
<case>
<desc>Point on segment between 3rd and 4th vertex of line</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestRectanglePredicate.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>A disjoint</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestSimple.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>P - point</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestUnaryUnion.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<run>
<desc>Tests for Geometry.union() method (unary union)</desc>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>P - point (showing merging of identical points)</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestValid.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>P - point (valid)</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/general/TestWithinDistance.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>PP - disjoint points</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/issue/issue-geos-582.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>GC - overlapping polygons </desc>
Expand Down
2 changes: 0 additions & 2 deletions tests/xmltester/tests/misc/TestIsValid.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<run>
<precisionModel type="FLOATING" />
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>http://lists.refractions.net/pipermail/jts-devel/2006-March/001447.html (1)</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/misc/linemerge.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0" />
<case>
<desc>Case</desc>
<a>
Expand Down
4 changes: 0 additions & 4 deletions tests/xmltester/tests/misc/robustness.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<run>
<!-- first occurrence is used -->
<precisionModel type="FLOATING" />
<precisionModel type="FLOATING_SINGLE" />
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>http://geos.osgeo.org/pipermail/geos-devel/2005-May/001441.html</desc>
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/misc/split.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>
<!--
This test is to verify difference() can be used to split linestrings
and multilinestring using a "cutter" linesting.
Expand Down
1 change: 0 additions & 1 deletion tests/xmltester/tests/robust/TestRobustRelate.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<run>
<precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/>

<case>
<desc>PP - Point is not on line. Non-robust algorithms fail by erroneously reporting intersects=true.</desc>
Expand Down

0 comments on commit 3cb53af

Please sign in to comment.