Skip to content

Commit

Permalink
relax unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CATALYST-project committed Jun 27, 2024
1 parent 1bbfee2 commit 17fb2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_plotDiffHeatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test_that("plotDiffHeatmap() - DA", {
y <- p@matrix
expect_gte(min(y), 0)
expect_lte(max(y), 1)
expect_true(all(colSums(y) == 1))
expect_equivalent(colSums(y), rep(1, ncol(y)))
expect_equal(dim(y), c(nlevels(kids), nlevels(x$sample_id)))
expect_identical(rownames(y), levels(kids))
expect_identical(colnames(y), levels(x$sample_id))
Expand Down

0 comments on commit 17fb2cb

Please sign in to comment.