assert_equal("ghhhhhg", @entry.qual)
end
+ def test_Seq_indels_remove_without_qual_returns_correctly
+ @entry.seq = "A-T.CG~CG"
+ @entry.qual = nil
+ assert_equal("ATCGCG", @entry.indels_remove.seq)
+ end
+
+ def test_Seq_indels_remove_with_qual_returns_correctly
+ @entry.seq = "A-T.CG~CG"
+ @entry.qual = "a@b@cd@fg"
+ assert_equal("ATCGCG", @entry.indels_remove.seq)
+ assert_equal("abcdfg", @entry.indels_remove.qual)
+ end
+
def test_Seq_composition_returns_correctly
@entry.seq = "AAAATTTCCG"
assert_equal(4, @entry.composition["A"])