Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Jul 3, 2023
1 parent dc23773 commit 684e552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-aaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ test_that("Setup with seed works (use 2 for testing)", {
# })

test_that("Don't restart if FALSE", {
expect_message(jlmerclusterperm_setup(restart = FALSE), "already running")
setup_is_ok <- julia_setup_ok()
if (setup_is_ok) {
expect_message(jlmerclusterperm_setup(restart = FALSE), "already running")
}
})

test_that("RNG initializes to seed=1 counter=0", {
Expand Down

0 comments on commit 684e552

Please sign in to comment.