Skip to content

Commit

Permalink
[processing tests] More tolerance in statistics test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 22, 2016
1 parent ced7c27 commit dbb24e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.

This file was deleted.

23 changes: 21 additions & 2 deletions python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
Expand Up @@ -72,8 +72,27 @@ tests:
- 'Bfloatval'
results:
OUTPUT_HTML_FILE:
name: expected/basic_statistics_numeric_float.html
type: file
name: basic_statistics_numeric_float.html
type: regex
rules:
- 'Analyzed layer: multipolys.gml'
- 'Analyzed field: Bfloatval'
- 'Count: 3'
- 'Unique values: 3'
- 'Minimum value: -0.123'
- 'Maximum value: 0.123'
- 'Range: 0.246'
- 'Sum: 0.0'
- 'Mean value: 0.0'
- 'Median value: 0.0'
- 'Standard deviation: 0.100429079454'
- 'Coefficient of Variation: 0'
- 'Minority \(rarest occurring value\): -0.123'
- 'Majority \(most frequently occurring value\): -0.123'
- 'First quartile: -0.0615'
- 'Third quartile: 0.0615'
- 'NULL \(missing\) values: 1'
- 'Interquartile Range \(IQR\): 0.123'

- algorithm: qgis:basicstatisticsfortextfields
name: Test (qgis:basicstatisticsfortextfields)
Expand Down

0 comments on commit dbb24e9

Please sign in to comment.