Skip to content

Commit 0d133df

Browse files
committed
remove test for nonexistent functions
1 parent 0165001 commit 0d133df

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/testthat/test-dist_quantiles.R

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ test_that("constructor returns reasonable quantiles", {
1010
expect_error(new_quantiles(c(1, 2, 3), c(.1, .2, 3)))
1111
})
1212

13-
test_that("tail functions give reasonable output", {
14-
expect_equal(norm_q_par(qnorm(c(.75, .5), 10, 5)), list(m = 10, s = 5))
15-
expect_equal(norm_q_par(qnorm(c(.25, .5), 10, 5)), list(m = 10, s = 5))
16-
expect_equal(norm_q_par(qnorm(c(.25, .5), 0, 1)), list(m = 0, s = 1))
17-
expect_equal(exp_q_par(qlaplace(c(.75, .5), 10, 5)), list(m = 10, s = 5))
18-
expect_equal(exp_q_par(qlaplace(c(.25, .5), 10, 5)), list(m = 10, s = 5))
19-
expect_equal(exp_q_par(qlaplace(c(.25, .5), 0, 1)), list(m = 0, s = 1))
20-
})
2113

2214
test_that("single dist_quantiles works, quantiles are accessible", {
2315
z <- new_quantiles(values = 1:5, quantile_levels = c(.2, .4, .5, .6, .8))

0 commit comments

Comments
 (0)