From b87000782664c8ed5150e7466283c1e89eb8049c Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 5 Jan 2023 12:33:05 -0600 Subject: [PATCH] Add test for reconstruct function --- test/runtests.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 0bc128b..b9eabdc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -43,6 +43,10 @@ var = Haplotype(align(seq1, seq2)) end end +@testset "HaplotypeReconstruction" begin + @test reconstruct(var) == seq1 +end + @testset "VariationPosition" begin refseq = dna"ACAACTTTATCT" mutseq = dna"ACATCTTTATCT"