Skip to content
Permalink
Browse files

Increase tolerance when comparing floats in processing tests

  • Loading branch information
elpaso authored and nyalldawson committed Jun 15, 2020
1 parent e0514de commit 50f66ba3cb856a805d9d40f7bac5c1a361a2c606
@@ -12,6 +12,10 @@ tests:
OUTPUT:
name: expected/mean_coordinates.gml
type: vector
compare:
fields:
__all__:
precision: 5

- algorithm: native:meancoordinates
name: Mean coordinates, multiple grouped
@@ -1417,6 +1417,11 @@ tests:
type: vector
pk:
- zone
compare:
fields:
sum:
cast: float
precision: 5

- algorithm: native:rasterlayerzonalstats
name: Raster layer zonal stats, reprojected
@@ -1458,6 +1463,10 @@ tests:
type: vector
pk:
- zone
compare:
fields:
sum:
precision: 0

- algorithm: native:rasterlayerzonalstats
name: Raster layer zonal stats reprojected, zones ref
@@ -1477,6 +1486,10 @@ tests:
type: vector
pk:
- zone
compare:
fields:
sum:
precision: 0

- algorithm: native:antimeridiansplit
name: Antimeridian split, lines
@@ -1618,6 +1631,11 @@ tests:
OUTPUT_TABLE:
name: expected/surface_vol_above_crs.gml
type: vector
compare:
fields:
volume:
cast: float
precision: 5

- algorithm: native:rastersurfacevolume
name: Surface volume below (meters)
@@ -1639,6 +1657,11 @@ tests:
OUTPUT_TABLE:
name: expected/surface_vol_below_crs.gml
type: vector
compare:
fields:
volume:
cast: float
precision: 5

- algorithm: native:rastersurfacevolume
name: Surface volume subtract below (meters)
@@ -1681,6 +1704,11 @@ tests:
OUTPUT_TABLE:
name: expected/surface_vol_add_crs.gml
type: vector
compare:
fields:
volume:
cast: float
precision: 5

- algorithm: native:rastersurfacevolume
name: Surface volume with gaps
@@ -1966,6 +1994,8 @@ tests:
fields:
p_x:
precision: 6
p_y:
precision: 6

- algorithm: native:joinbynearest
name: Join by nearest polys to points

0 comments on commit 50f66ba

Please sign in to comment.
You can’t perform that action at this time.