Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ge0rges committed Mar 17, 2024
1 parent 18bc3bf commit afd7e5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit afd7e5d

Please sign in to comment.