Skip to content

Commit 4d685fb

Browse files
committed
test isInitialized
1 parent 078f57c commit 4d685fb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/interfaceTests.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,15 @@ end
107107

108108
@test getSolverParams(dfg) != nothing
109109
@test setSolverParams(dfg, getSolverParams(dfg)) == getSolverParams(dfg)
110+
111+
#solver data is initialized
112+
@test !isInitialized(dfg, :a)
113+
@test !isInitialized(v2)
114+
115+
#TODO Should the next test work?
116+
@test_broken !isInitialized(dfg, :f1)
117+
@test_broken !isInitialized(f1)
118+
110119
end
111120

112121
@testset "Updating Nodes" begin

0 commit comments

Comments
 (0)