mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 05:19:55 +00:00
Add test for ending substitutions being invalid
This commit is contained in:
parent
3b61ccefb5
commit
f9e76d60d6
1 changed files with 3 additions and 0 deletions
|
@ -121,4 +121,7 @@ end
|
|||
|
||||
# Test that ending insertions are still valid
|
||||
@test length(Variant(PairwiseAlignment(AlignedSequence(mutseq, Alignment("7=3I", 1, 1)), refseq)).edits) == 1
|
||||
|
||||
# Test that out-of-bounds bases are still caught
|
||||
@test_throws BoundsError Variant(PairwiseAlignment(AlignedSequence(mutseq, Alignment("7=3X", 1, 1)), refseq))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue