Skip to content

Commit a30bf95

Browse files
committedMar 31, 2016
Drop precision of some processing tests to pass on Windows
1 parent 9dd791d commit a30bf95

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed
 

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ tests:
200200
OUTPUT:
201201
type: vector
202202
name: expected/innerRingTouchesOuterRing_output.gml
203-
203+
compare:
204+
geometry:
205+
precision: 7
206+
204207
- name: dissolve
205208
algorithm: qgis:dissolve
206209
#input contains NULL geometries
@@ -214,6 +217,9 @@ tests:
214217
OUTPUT:
215218
type: vector
216219
name: expected/nullGeometryDissolve_output.gml
220+
compare:
221+
geometry:
222+
precision: 7
217223

218224
- name: dissolve
219225
algorithm: qgis:dissolve
@@ -228,7 +234,9 @@ tests:
228234
OUTPUT:
229235
type: vector
230236
name: expected/PolygonDissolveTest_output.gml
231-
237+
compare:
238+
geometry:
239+
precision: 7
232240

233241
- algorithm: qgis:fixeddistancebuffer
234242
name: Basic polygon buffer
@@ -243,7 +251,9 @@ tests:
243251
OUTPUT:
244252
name: expected/buffer_polys.gml
245253
type: vector
246-
254+
compare:
255+
geometry:
256+
precision: 13
247257

248258
- algorithm: qgis:fixeddistancebuffer
249259
name: Polygon buffer with dissolve

0 commit comments

Comments
 (0)
Please sign in to comment.