Skip to content

Commit

Permalink
actually test the encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jjustison committed Oct 31, 2024
1 parent 3b2246f commit e367a4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
PCS.encode_edges!(tree,net)

@test (x-> x.inCycle).(tree.edge) == [2,5,7,8,1,4,8,6,7,8,8]

0 comments on commit e367a4f

Please sign in to comment.