Skip to content

Commit

Permalink
Merge branch 'feature/sf-usmapdata-migration' of github.com:pdil/usma…
Browse files Browse the repository at this point in the history
…p into feature/sf-usmapdata-migration
  • Loading branch information
pdil committed Jan 15, 2024
2 parents 490d15b + 43cbf9e commit 25b7490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-transform.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test_that("data frame with AK and HI points is transformed", {
)
sf::st_crs(result) <- usmap_crs()

expect_equal(usmap_transform(data), result, tolerance = 1e-05)
expect_equal(usmap_transform(data), result, tolerance = 1e-02)
})

test_that("data frame with AK points is transformed", {
Expand All @@ -42,7 +42,7 @@ test_that("data frame with AK points is transformed", {
)
sf::st_crs(result) <- usmap_crs()

expect_equal(usmap_transform(data), result, tolerance = 1e-05)
expect_equal(usmap_transform(data), result, tolerance = 1e-02)
})

test_that("data frame with HI points is transformed", {
Expand All @@ -64,7 +64,7 @@ test_that("data frame with HI points is transformed", {
)
sf::st_crs(result) <- usmap_crs()

expect_equal(usmap_transform(data), result, tolerance = 1e-05)
expect_equal(usmap_transform(data), result, tolerance = 1e-02)
})

test_that("data frame with no AK or HI points is transformed", {
Expand All @@ -85,7 +85,7 @@ test_that("data frame with no AK or HI points is transformed", {
)
sf::st_crs(result) <- usmap_crs()

expect_equal(usmap_transform(data), result, tolerance = 1e-05)
expect_equal(usmap_transform(data), result, tolerance = 1e-02)
})

test_that("error occurs for data with less than 2 columns", {
Expand Down

0 comments on commit 25b7490

Please sign in to comment.