Skip to content

Commit

Permalink
Update test-space_filling.R
Browse files Browse the repository at this point in the history
removing `expect_error()` on a baseR error from `UseMethod()`
  • Loading branch information
hfrick committed Oct 21, 2024
1 parent 26305d9 commit 7707308
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/testthat/test-space_filling.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ test_that("max entropy designs", {
)
expect_equal(ncol(grid_3), 1L)

expect_error(
grid_max_entropy(
cost,
size = 11,
original = FALSE
)
)
expect_snapshot(
error = TRUE,
grid_max_entropy(
Expand All @@ -46,12 +39,6 @@ test_that("max entropy designs", {
original = FALSE
)
)
expect_error(
grid_max_entropy(
size = 11,
original = FALSE
)
)
})

test_that("`grid_latin_hypercube()` is deprecated", {
Expand Down Expand Up @@ -92,13 +79,6 @@ test_that("latin square designs", {
20
)

expect_error(
grid_latin_hypercube(
cost,
size = 11,
original = FALSE
)
)
expect_snapshot(
error = TRUE,
grid_latin_hypercube(
Expand All @@ -107,12 +87,6 @@ test_that("latin square designs", {
original = FALSE
)
)
expect_error(
grid_latin_hypercube(
size = 11,
original = FALSE
)
)
})


Expand Down

0 comments on commit 7707308

Please sign in to comment.