Skip to content

Commit a26af67

Browse files
committed
fix typo
1 parent 9e127c1 commit a26af67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-SplitClusterTest.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ test_that("ds", {
44
x[1:40,1:10] = x[1:40, 1:10] + 10
55
res = ds(x, q = 0.1)
66
acc = calc_acc(res$sel_set, 1:10)
7-
expect_lte(acc$fdr, 0.1)
8-
expect_gte(acc$power, 0.9)
7+
expect_lte(acc[["fdr"]], 0.1)
8+
expect_gte(acc[["power"]], 0.9)
99

1010
res2 = mds(x, q = 0.1, M = 10)
1111
acc2 = calc_acc(res2, 1:10)
12-
expect_lte(acc2$fdr, 0.1)
13-
expect_gte(acc2$power, 0.9)
12+
expect_lte(acc2[["fdr"]], 0.1)
13+
expect_gte(acc2[["power"]], 0.9)
1414
})
1515

1616
test_that("calc_tau", {

0 commit comments

Comments
 (0)