From 116d8da819cb8480a9b948571210861c1eb606ba Mon Sep 17 00:00:00 2001 From: mitchelloharawild Date: Fri, 5 Apr 2024 21:30:22 +1100 Subject: [PATCH] Fix broken test Ref #100 --- tests/testthat/test-transformations.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testthat/test-transformations.R b/tests/testthat/test-transformations.R index 8a38860..e85bcfa 100644 --- a/tests/testthat/test-transformations.R +++ b/tests/testthat/test-transformations.R @@ -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) ) })