Skip to content

Commit bbffe82

Browse files
authored
Merge pull request #1044 from JuliaRobotics/23Q3/test/fixlstypes
fix lsTypes test
2 parents 0cccdd4 + 2e82799 commit bbffe82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/iifInterfaceTests.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ end
152152

153153
@test !isPrior(dfg, :abf1) # f1 is not a prior
154154
@test lsfPriors(dfg) == []
155-
#FIXME don't know what it is supposed to do
156-
@test 0 < length(lsfTypes(dfg))
155+
156+
@test lsfTypes(dfg) == [:LinearRelative]
157157

158158
@test ls(dfg, LinearRelative) == [:abf1]
159159
@test lsf(dfg, LinearRelative) == [:abf1]
@@ -162,8 +162,7 @@ end
162162
@test getVariableType(v1) isa Position{1}
163163
@test getVariableType(dfg, :a) isa Position{1}
164164

165-
#TODO what is lsTypes supposed to return?
166-
@test 0 < length(lsTypes(dfg))
165+
@test lsTypes(dfg) == [:Position]
167166

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

0 commit comments

Comments
 (0)