Skip to content

Commit

Permalink
switch prob domain testing to expect_equal
Browse files Browse the repository at this point in the history
  • Loading branch information
pearsonca committed Nov 2, 2023
1 parent aa1d4bf commit 18c70f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-trans-numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ test_that("Yeo-Johnson transform works", {
})

test_that("probability transforms have domain (0,1)", {
expect_true(all(logit_trans()$domain == c(0, 1)))
expect_true(all(probit_trans()$domain == c(0, 1)))
expect_equal(logit_trans()$domain == c(0, 1))
expect_equal(probit_trans()$domain == c(0, 1))
})

0 comments on commit 18c70f2

Please sign in to comment.