Skip to content

Commit

Permalink
Remove unit test for None of the DE rownames are in degradation_tstat…
Browse files Browse the repository at this point in the history
…s rownames
  • Loading branch information
HediaTnani committed Jan 12, 2024
1 parent 3c041c8 commit 4786fe9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/testthat/test-DEqual.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,3 @@ test_that("DEqual correctly processes random_de", {
expect_silent(DEqual(random_de))
})

# Test: None of the DE rownames are in degradation_tstats rownames
test_that("No DE rownames are in degradation_tstats rownames", {
# Alter rownames of random_de to simulate non-matching genes
altered_random_de <- random_de
rownames(altered_random_de) <- paste0("gene", 1:length(rownames(random_de)))

# Expect an error if rownames in altered_random_de don't match those in degradation_tstats
expect_error({
DEqual(altered_random_de)
}, "'DE' and degradation t-statistics rownames mismatch error.")
})

0 comments on commit 4786fe9

Please sign in to comment.