From 4786fe9f484071aef32d1a84289b2bd16e8849c1 Mon Sep 17 00:00:00 2001 From: HediaTnani Date: Fri, 12 Jan 2024 14:54:47 -0500 Subject: [PATCH] Remove unit test for None of the DE rownames are in degradation_tstats rownames --- tests/testthat/test-DEqual.R | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/testthat/test-DEqual.R b/tests/testthat/test-DEqual.R index 44bd3da..e86da4e 100644 --- a/tests/testthat/test-DEqual.R +++ b/tests/testthat/test-DEqual.R @@ -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.") -}) \ No newline at end of file