Skip to content

Commit

Permalink
add tile_n() to existing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Sep 11, 2024
1 parent 6bdd9f4 commit be1779b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/testthat/test-tar-terra-tiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ targets::tar_test("tar_terra_tiles() works", {
tile_fun = tile_blocksize
),
tar_terra_tiles(
name = rast_split_n,
name = rast_split_grid,
raster = my_map,
tile_fun = \(x) tile_grid(x, ncol = 2, nrow = 2)
),
tar_terra_tiles(
name = rast_split_n,
raster = my_map,
tile_fun = \(x) tile_n(x, n = 6)
)
)
})
Expand Down

0 comments on commit be1779b

Please sign in to comment.