Skip to content

Commit

Permalink
change create output
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Jun 3, 2024
1 parent 9e1b167 commit 4eff74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-create.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ex <- c(10, 20, -10, 20)
test_that("create works", {
expect_output(vapour_create(tf <- tempfile(fileext = ".tif"), dimension = c(10, 5), extent = ex)) |> expect_equal(tf)
expect_silent(vapour_create(tf <- tempfile(fileext = ".tif"), dimension = c(10, 5), extent = ex)) |> expect_equal(tf)
expect_silent(info <- vapour_raster_info(tf))
expect_equal(info$extent, ex)
expect_equal(info$dimension, c(10, 5))
Expand Down

0 comments on commit 4eff74d

Please sign in to comment.