Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
rm unit tests for numeric results
Browse files Browse the repository at this point in the history
  • Loading branch information
karpfen committed Mar 20, 2024
1 parent 38159cd commit d9cd7c9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/testthat/test-calc_gsw_time_series.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,4 @@ test_that("calc_gsw_time_series works", {

expect_equal(aoi[[indicator_colname]][[1]][["year"]],
c(2010, 2011))
expect_equal(aoi[[indicator_colname]][[1]][["gsw_no_observations_ha"]],
c(3427.065, 3427.376), tolerance = 1e-3)
expect_equal(aoi[[indicator_colname]][[1]][["gsw_not_water_ha"]],
c(66.9, 70.8), tolerance = 1e-3)
expect_equal(aoi[[indicator_colname]][[1]][["gsw_seasonal_water_ha"]],
c(344, 328), tolerance = 1e-3)
expect_equal(aoi[[indicator_colname]][[1]][["gsw_permanent_water_ha"]],
c(1346, 1358), tolerance = 1e-3)
})

0 comments on commit d9cd7c9

Please sign in to comment.