Fixed tests (#24)
This commit is contained in:
parent
00ecfa4fd8
commit
e4af251307
1 changed files with 5 additions and 6 deletions
|
|
@ -46,11 +46,10 @@ raw_bam <- importFile(
|
|||
data = file.path(path_inst, "bam_example.bam"),
|
||||
format = "BAM",
|
||||
)
|
||||
# TODO: uncomment for testing #24
|
||||
# raw_baps <- importFile(
|
||||
# data = file.path(path_inst, "FASTA_clustering_haploid.fasta"),
|
||||
# format = "FASTA"
|
||||
# )
|
||||
raw_baps <- importFile(
|
||||
data = file.path(path_inst, "FASTA_clustering_haploid.fasta"),
|
||||
format = "FASTA"
|
||||
)
|
||||
|
||||
test_that("Files are imported correctly", {
|
||||
expect_equal(dim(raw_fasta), c(5, 99))
|
||||
|
|
@ -71,7 +70,7 @@ test_that("Files are imported correctly", {
|
|||
)
|
||||
})
|
||||
|
||||
test_that("greedyMix() works", {
|
||||
test_that("greedyMix() fails successfully", {
|
||||
expect_error(greedyMix(file.path(path_inst, "vcf_example.vcf")))
|
||||
expect_error(greedyMix(file.path(path_inst, "bam_example.bam")))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue