Skip to content

Commit f68cc8e

Browse files
arnavk23tmigot
andauthored
Update test/runtests.jl
Co-authored-by: Tangi Migot <[email protected]>
1 parent 9bfb16c commit f68cc8e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/runtests.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ using NLPModels, NLPModelsJuMP, OptimizationProblems, Test
44

55
import ADNLPModels
66

7-
# list_problems should be the intersection of ADNLPProblems and PureJuMP problem names.
8-
# Some CI runs or local edits may have removed this definition; define it here.
97
const list_problems = intersect(names(ADNLPProblems), names(PureJuMP))
10-
11-
@test length(list_problems) > 0
8+
# all problems have a JuMP and ADNLPModels formulations
9+
@test setdiff(union(names(ADNLPProblems), names(PureJuMP)), list_problems) ==
10+
[:ADNLPProblems, :PureJuMP]
1211

1312
include("test_utils.jl")
1413

0 commit comments

Comments
 (0)