Skip to content

Commit a0fb4f0

Browse files
committed
Small test coverage improvement
1 parent f4ec5d0 commit a0fb4f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/interfaceTests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ end
174174
@test getFactorIds(dfg) == []
175175
deleteVariable!(dfg, :b)
176176
@test symdiff([:a, :orphan], getVariableIds(dfg)) == []
177+
#delete last also for the LightGraphs implementation coverage
178+
deleteVariable!(dfg, :orphan)
179+
@test symdiff([:a], getVariableIds(dfg)) == []
180+
deleteVariable!(dfg, :a)
181+
@test getVariableIds(dfg) == []
182+
177183
end
178184

179185

0 commit comments

Comments
 (0)