From afd7e5d7720365248d749da99c6242f55b29e3d7 Mon Sep 17 00:00:00 2001 From: Georges Kanaan Date: Sun, 17 Mar 2024 16:10:12 -0400 Subject: [PATCH] Update tests --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5840a30..814f9b8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -259,7 +259,8 @@ fn test_filter() { #[test] fn test_contam() { - let aligner = setup_contamination_filter("test-data/random_contam.fa"); + let t: usize = 8; + let aligner = setup_contamination_filter("test-data/random_contam.fa", &t); let rec = fastq::Reader::new(std::fs::File::open("test-data/test.fastq").unwrap()) .records() .next() @@ -270,7 +271,8 @@ fn test_contam() { #[test] fn test_no_contam() { - let aligner = setup_contamination_filter("test-data/random_contam.fa"); + let t: usize = 8; + let aligner = setup_contamination_filter("test-data/random_contam.fa", &t); let rec = fastq::Reader::new(std::fs::File::open("test-data/other-test.fastq").unwrap()) .records() .next()