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 9e127c1 commit a26af67Copy full SHA for a26af67
tests/testthat/test-SplitClusterTest.R
@@ -4,13 +4,13 @@ test_that("ds", {
4
x[1:40,1:10] = x[1:40, 1:10] + 10
5
res = ds(x, q = 0.1)
6
acc = calc_acc(res$sel_set, 1:10)
7
- expect_lte(acc$fdr, 0.1)
8
- expect_gte(acc$power, 0.9)
+ expect_lte(acc[["fdr"]], 0.1)
+ expect_gte(acc[["power"]], 0.9)
9
10
res2 = mds(x, q = 0.1, M = 10)
11
acc2 = calc_acc(res2, 1:10)
12
- expect_lte(acc2$fdr, 0.1)
13
- expect_gte(acc2$power, 0.9)
+ expect_lte(acc2[["fdr"]], 0.1)
+ expect_gte(acc2[["power"]], 0.9)
14
})
15
16
test_that("calc_tau", {
0 commit comments