Skip to content

Commit fedcfce

Browse files
committed
test for out of order #95
1 parent cb93bf5 commit fedcfce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/interfaceTests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ end
191191
dfgSubgraph = getSubgraph(dfg,[:x1, :x2, :x1x2f1])
192192
# Only returns x1 and x2
193193
@test symdiff([:x1, :x1x2f1, :x2], [ls(dfgSubgraph)..., lsf(dfgSubgraph)...]) == []
194+
195+
# test to catch out of order error DFG #95
196+
dfgSubgraph = getSubgraphAroundNode(dfg, verts[2], 2)
197+
@test getFactor(dfgSubgraph, :x1x2f1)._variableOrderSymbols == [:x1,:x2]
194198
end
195199

196200
@testset "Producing Dot Files" begin

0 commit comments

Comments
 (0)