diff --git a/tests/testthat/test-TrainingCache.R b/tests/testthat/test-TrainingCache.R index e4ba6b2..5be95b9 100644 --- a/tests/testthat/test-TrainingCache.R +++ b/tests/testthat/test-TrainingCache.R @@ -84,4 +84,6 @@ test_that("Estimator can resume training from cache", { } ) sink() + trainCache <- TrainingCache$new(analysisPath) + testthat::expect_equal(is.na(trainCache$getLastGridSearchIndex()), TRUE) })