We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0165001 commit 0d133dfCopy full SHA for 0d133df
tests/testthat/test-dist_quantiles.R
@@ -10,14 +10,6 @@ test_that("constructor returns reasonable quantiles", {
10
expect_error(new_quantiles(c(1, 2, 3), c(.1, .2, 3)))
11
})
12
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
-})
21
22
test_that("single dist_quantiles works, quantiles are accessible", {
23
z <- new_quantiles(values = 1:5, quantile_levels = c(.2, .4, .5, .6, .8))
0 commit comments