Add tests for Variation sorting

This commit is contained in:
Thomas A. Christensen II 2023-01-10 11:19:58 -06:00
parent 0b2879b78c
commit c360caf9bd

View file

@ -56,6 +56,10 @@ end
@test reconstruct(var) == seq1 @test reconstruct(var) == seq1
end end
@testset "VariationSorting" begin
@test Variation(seq2, "A3T") < Variation(seq2, "T4A")
end
@testset "VariationPosition" begin @testset "VariationPosition" begin
refseq = dna"ACAACTTTATCT" refseq = dna"ACAACTTTATCT"
mutseq = dna"ACATCTTTATCT" mutseq = dna"ACATCTTTATCT"