Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
Ref #100
  • Loading branch information
mitchelloharawild committed Apr 5, 2024
1 parent c06b7e9 commit 116d8da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-transformations.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ test_that("chains of transformations", {

test_that("handling of transformation arguments", {
expect_identical(
hilo(logb(dist_normal(5, 1), base = 10)),
logb(hilo(dist_normal(5, 1)), base = 10)
hilo(logb(dist_uniform(0, 100), base = 10)),
logb(hilo(dist_uniform(0, 100)), base = 10)
)

expect_identical(
hilo(10^logb(dist_normal(5, 1), base = 10)),
10^logb(hilo(dist_normal(5, 1)), base = 10)
hilo(10^logb(dist_uniform(0, 100), base = 10)),
10^logb(hilo(dist_uniform(0, 100)), base = 10)
)
})

Expand Down

0 comments on commit 116d8da

Please sign in to comment.