Skip to content

Commit

Permalink
Fixed test failures for some unit tests
Browse files Browse the repository at this point in the history
Former-commit-id: 80c85ef
  • Loading branch information
cying111 committed Jun 18, 2020
1 parent 77d735d commit 37901f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_bambu.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ test_that("bambu (isoform quantification of saved readClassFiles) produces expec

# test case 1: bambu with single bam file, only using annotations (default option)
set.seed(1234)
se = bambu(readClass.file = seReadClass1, annotations = gr, extendAnnotations = FALSE)
se = bambu(readClass.file = seReadClass1, annotations = gr,emParameters=list(bias = FALSE), extendAnnotations = FALSE)
expect_s4_class(se, "SummarizedExperiment")
expect_equal(se,seExpected)

set.seed(1234)
seExtended = bambu(readClass.file = seReadClass1, annotations = gr, extendAnnotations = TRUE)
seExtended = bambu(readClass.file = seReadClass1, annotations = gr,emParameters=list(bias = FALSE), extendAnnotations = TRUE)
expect_s4_class(seExtended, "SummarizedExperiment")
expect_equal(seExtended,seExtendedExpected)

Expand Down

0 comments on commit 37901f9

Please sign in to comment.