Skip to content

Commit

Permalink
added product to stats tests after updating calc-stats
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Aug 12, 2023
1 parent dcd58df commit 585c3a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stats/stats.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const EXPECTED_RASTER_STATS = [
min: 0,
mode: 0,
modes: [0],
product: 0,
range: 8131.2,
std: 562.8169687364914,
sum: 108343045.39997534,
Expand All @@ -46,6 +47,7 @@ const EXPECTED_BBOX_STATS = [
min: 0,
mode: 0,
modes: [0],
product: 0,
range: 5166.7,
std: 1216.4677587709607,
sum: 236435.4,
Expand All @@ -64,6 +66,7 @@ const EXPECTED_POLYGON_STATS = [
min: 0,
mode: 0,
modes: [0],
product: 0,
range: 7807.4,
std: 1507.3255322956486,
sum: 3_099_403.799999996, // rasterstats says 3,099,403.8
Expand Down

0 comments on commit 585c3a7

Please sign in to comment.