Risk type: precision/formatter_boundary¶
These 7 cases exercise the precision/formatter_boundary failure mode. Run your function against all of them to check how it behaves.
Use GeoCase in your tests¶
Install the complete set of vector, raster, and NetCDF dependencies:
Numeric Boundary: 15 Significant Digits
Numeric Boundary: 17 Significant Digits
Numeric Boundary: 1e-13
Numeric Boundary: 1e-14
Numeric Boundary: 1e-15
Numeric Boundary: Trailing Nines
Numeric Boundary: Trailing Zeros
| Case | Category | Format | Geometry |
|---|---|---|---|
| Numeric Boundary: 15 Significant Digits | vector | GeoJSON | Point |
| Numeric Boundary: 17 Significant Digits | vector | GeoJSON | Point |
| Numeric Boundary: 1e-13 | vector | GeoJSON | Point |
| Numeric Boundary: 1e-14 | vector | GeoJSON | Point |
| Numeric Boundary: 1e-15 | vector | GeoJSON | Point |
| Numeric Boundary: Trailing Nines | vector | GeoJSON | Point |
| Numeric Boundary: Trailing Zeros | vector | GeoJSON | Point |