Skip to content

Commit f88cf7d

Browse files
committed
Drop processing algorithm comparison precision
1 parent c825f46 commit f88cf7d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,8 @@ tests:
187187
type: vector
188188

189189

190-
- name: dissolve
190+
- name: Dissolve with geometries reported as valid but as invalid with isGeosValid
191191
algorithm: qgis:dissolve
192-
#input is valid as validateGeometry(), but invalid in isGeosValid()
193192
params:
194193
DISSOLVE_ALL: 'True'
195194
FIELD: None
@@ -202,11 +201,10 @@ tests:
202201
name: expected/innerRingTouchesOuterRing_output.gml
203202
compare:
204203
geometry:
205-
precision: 7
204+
precision: 5
206205

207-
- name: dissolve
206+
- name: Dissolve with NULL geometries
208207
algorithm: qgis:dissolve
209-
#input contains NULL geometries
210208
params:
211209
DISSOLVE_ALL: 'True'
212210
FIELD: None
@@ -221,9 +219,8 @@ tests:
221219
geometry:
222220
precision: 7
223221

224-
- name: dissolve
222+
- name: Dissolve with invalid geometries
225223
algorithm: qgis:dissolve
226-
#input contains invalid geometries
227224
params:
228225
DISSOLVE_ALL: 'True'
229226
FIELD: None
@@ -253,7 +250,7 @@ tests:
253250
type: vector
254251
compare:
255252
geometry:
256-
precision: 13
253+
precision: 7
257254

258255
- algorithm: qgis:fixeddistancebuffer
259256
name: Polygon buffer with dissolve
@@ -267,4 +264,7 @@ tests:
267264
results:
268265
OUTPUT:
269266
name: expected/buffer_polys_dissolve.gml
270-
type: vector
267+
type: vector
268+
compare:
269+
geometry:
270+
precision: 7

0 commit comments

Comments
 (0)