From e367a4f4fb8e527cee41881a20b84e70732d7b0f Mon Sep 17 00:00:00 2001 From: jjustison Date: Thu, 31 Oct 2024 14:26:24 -0400 Subject: [PATCH] actually test the encoding --- test/test_utils.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_utils.jl b/test/test_utils.jl index a7ee1d8..7e7c05d 100644 --- a/test/test_utils.jl +++ b/test/test_utils.jl @@ -11,4 +11,6 @@ message = "The gene and species phylogeny have different sets of node names" tree.node[1].name = "B" -PCS.encode_edges!(tree,net) \ No newline at end of file +PCS.encode_edges!(tree,net) + +@test (x-> x.inCycle).(tree.edge) == [2,5,7,8,1,4,8,6,7,8,8] \ No newline at end of file