Skip to content

Commit

Permalink
missing test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
guyvdbroeck committed Nov 21, 2021
1 parent 6d97ac1 commit b655484
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/trees_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,15 @@ module TestNodes
print_tree(r,b)
@test !isempty(String(take!(b)))

DirectedAcyclicGraphs.isequal_local(x::TestNode,y::TestNode) =
x.id == y.id

k1 = TestLNode(3)
k2 = TestLNode(4)
j12 = TestINode(3,[k1,k2])

@test k1 != l1
@test j12 != i12

DirectedAcyclicGraphs.isequal_local(x::TestNode,y::TestNode) =
x.id == y.id

@test k1 != l2
@test k1 == l1
Expand Down

0 comments on commit b655484

Please sign in to comment.