Skip to content

Commit

Permalink
remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkelSchubert committed Jul 22, 2024
1 parent 3d41a63 commit ef188f7
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions tests/unit/alignment_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1159,34 +1159,6 @@ TEST_CASE("Identical nucleotides gets higher qualities")
REQUIRE(record1 == expected);
}

TEST_CASE("Identical nucleotides gets higher qualities [deterministic]")
{
sequence_merger merger;
merger.set_merge_strategy(merge_strategy::deterministic);
fastq record1("Rec1", "GCATGATATA", "012345!0:A");
fastq record2("Rec2", "TATATACAAC", "(3&?EFGHIJ");
const alignment_info alignment = ALN().offset(6);
REQUIRE(truncate_paired_ended_sequences(alignment, record1, record2) == 0);
const fastq expected =
fastq("Rec1", "GCATGATATATACAAC", "012345(FBcEFGHIJ", FASTQ_ENCODING_SAM);
merger.merge(alignment, record1, record2);
REQUIRE(record1 == expected);
}

TEST_CASE("Identical nucleotides gets higher qualities, max 41 [deterministic]")
{
sequence_merger merger;
merger.set_merge_strategy(merge_strategy::deterministic);
fastq record1("Rec1", "GCATGATATA", "0123456789");
fastq record2("Rec2", "TATATACAAC", "ABCDEFGHIJ");
const alignment_info alignment = ALN().offset(6);
REQUIRE(truncate_paired_ended_sequences(alignment, record1, record2) == 0);
const fastq expected =
fastq("Rec1", "GCATGATATATACAAC", "012345Z\\^`EFGHIJ", FASTQ_ENCODING_SAM);
merger.merge(alignment, record1, record2);
REQUIRE(record1 == expected);
}

TEST_CASE("Higher quality nucleotide is selected")
{
sequence_merger merger;
Expand Down

0 comments on commit ef188f7

Please sign in to comment.