Skip to content
Snippets Groups Projects
Commit af617116 authored by Sander Bollen's avatar Sander Bollen
Browse files

add test

parent 26243a6b
No related branches found
No related tags found
No related merge requests found
File added
File added
......@@ -39,7 +39,9 @@ class VcfFilterTest extends TestNGSuite with MockitoSugar with Matchers {
}
val veppedPath = resourcePath("/VEP_oneline.vcf")
val starPath = resourcePath("/star_genotype.vcf.gz")
val vepped = new File(veppedPath)
val star = new File(starPath)
val rand = new Random()
@Test def testOutputTypeVcf() = {
......@@ -183,6 +185,9 @@ class VcfFilterTest extends TestNGSuite with MockitoSugar with Matchers {
mustHaveVariant(record, List("Sample_101")) shouldBe true
mustHaveVariant(record, List("Sample_101", "Sample_102")) shouldBe true
mustHaveVariant(record, List("Sample_101", "Sample_102", "Sample_103")) shouldBe false
val starReader = new VCFFileReader(star, false)
starReader.iterator().foreach(x => mustHaveVariant(x, List("Sample_101")) shouldBe false)
}
@Test def testSameGenotype() = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment