Skip to content

Commit

Permalink
better test for parallel processing
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollist committed Jun 16, 2023
1 parent 32394ed commit 73e2bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-get_elev_raster.R
Expand Up @@ -92,6 +92,6 @@ test_that("Parallel processing works",{
#class
expect_is(serial_elev,"SpatRaster")

#project
expect_equal(st_crs(serial_elev)$wkt,st_crs(ll_prj)$wkt)
#same size as serial
expect_equal(ncell(serial_elev),ncell(aws))
})

0 comments on commit 73e2bc0

Please sign in to comment.