Skip to content

Commit

Permalink
Merge pull request #1044 from JuliaRobotics/23Q3/test/fixlstypes
Browse files Browse the repository at this point in the history
fix lsTypes test
  • Loading branch information
Affie authored Aug 21, 2023
2 parents 0cccdd4 + 2e82799 commit bbffe82
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/iifInterfaceTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ end

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

@test lsfTypes(dfg) == [:LinearRelative]

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

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

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

0 comments on commit bbffe82

Please sign in to comment.