Skip to content

Commit 1953ab0

Browse files
committed
test little less strict
1 parent 3dcd47b commit 1953ab0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
^vignettes/.+_files$
1818
^vignettes/.+\.html$
1919
.github
20+
.covrignore

tests/testthat/test_adaptive_infillcrits.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test_that("adaptive infill crit works with all termination criteria", {
3939
df = as.data.frame(or$opt.path)
4040
expect_true(any(df$lambda > 1))
4141
expect_true(length(unique(df$lambda))>2)
42-
expect_true(all(diff(df$lambda[!is.na(df$lambda)])<0))
42+
expect_true(all(diff(df$lambda[!is.na(df$lambda)])<=0))
4343
expect_true(all(df$prop.type %in% c("infill_adacb", "initdesign")))
4444
expect_numeric(df$adacb)
4545
}

0 commit comments

Comments
 (0)