Add test for reconstruct function

This commit is contained in:
Thomas A. Christensen II 2023-01-05 12:33:05 -06:00
parent b80dd8c950
commit b870007826

View file

@ -43,6 +43,10 @@ var = Haplotype(align(seq1, seq2))
end end
end end
@testset "HaplotypeReconstruction" begin
@test reconstruct(var) == seq1
end
@testset "VariationPosition" begin @testset "VariationPosition" begin
refseq = dna"ACAACTTTATCT" refseq = dna"ACAACTTTATCT"
mutseq = dna"ACATCTTTATCT" mutseq = dna"ACATCTTTATCT"