From 3b61ccefb5eb783d819468680bc77bb8d198ec3d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:02:17 -0600 Subject: [PATCH] Add test for ending insertion --- test/runtests.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index d4dca18..e236872 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -118,4 +118,7 @@ end # Test for ending soft+hard clip @test Variant(PairwiseAlignment(AlignedSequence(mutseq, Alignment("7=3S2H", 1, 1)), refseq)) == refvar + + # Test that ending insertions are still valid + @test length(Variant(PairwiseAlignment(AlignedSequence(mutseq, Alignment("7=3I", 1, 1)), refseq)).edits) == 1 end