Skip to content

Commit

Permalink
add functional test for reading diverse-bitwidths file. #46
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejiang committed Nov 30, 2015
1 parent 0de96c8 commit c4f32ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inst/tests/IO-testSuite.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,10 @@ test_that("test integer overflow issue", {
fr <- read.FCS(file.path(dataPath,"/Beckman_Coulter/MoFlo Astrios EQ 9C bis all.fcs"))
keyword(fr)[["FILENAME"]] <- "setToDummy"
expect_equal(expectRes[["read.FCS"]][["MoFlo EQ 9C"]], digest(fr))
})

test_that("test diverse Bitwidths", {
fr <- read.FCS(file.path(dataPath, "diverseBitwidths.fcs"))
keyword(fr)[["FILENAME"]] <- "setToDummy"
expect_equal(expectRes[["read.FCS"]][["diverseBitwidths"]], digest(fr))
})
Binary file modified inst/tests/expectResults.rds
Binary file not shown.

0 comments on commit c4f32ca

Please sign in to comment.