Skip to content

Commit a2c83e1

Browse files
committed
fix tests for JL 1.10
1 parent bde8a13 commit a2c83e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/iifInterfaceTests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ end
129129
# Existence
130130
@test exists(dfg, :a) == true
131131
@test exists(dfg, v1) == true
132+
@show exists(dfg, :nope)
132133
@test exists(dfg, :nope) == false
133134
# isFactor and isVariable
134135
@test isFactor(dfg, f1.label)
@@ -139,6 +140,7 @@ end
139140
@test !isFactor(dfg, :doesntexist)
140141

141142
@test issetequal([:a, :b], listVariables(dfg))
143+
@show listFactors(dfg)
142144
@test issetequal([:abf1], listFactors(dfg))
143145

144146
# @test @test_deprecated getVariableIds(dfg) == listVariables(dfg)
@@ -151,7 +153,7 @@ end
151153
@test !isPrior(dfg, :abf1) # f1 is not a prior
152154
@test lsfPriors(dfg) == []
153155
#FIXME don't know what it is supposed to do
154-
@test_broken lsfTypes(dfg)
156+
@test 0 < length( lsfTypes(dfg) )
155157

156158
@test ls(dfg, LinearRelative) == [:abf1]
157159
@test lsf(dfg, LinearRelative) == [:abf1]
@@ -161,7 +163,7 @@ end
161163
@test getVariableType(dfg, :a) isa Position{1}
162164

163165
#TODO what is lsTypes supposed to return?
164-
@test_broken lsTypes(dfg)
166+
@test 0 < length( lsTypes(dfg) )
165167

166168
@test issetequal(ls(dfg, Position{1}), [:a, :b])
167169
@test issetequal(lsWho(dfg, :Position), [:a, :b])

0 commit comments

Comments
 (0)