Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ using NLPModels, NLPModelsJuMP, OptimizationProblems, Test

import ADNLPModels

list_problems = intersect(names(ADNLPProblems), names(PureJuMP))
# all problems have a JuMP and ADNLPModels formulations
@test setdiff(union(names(ADNLPProblems), names(PureJuMP)), list_problems) ==
[:ADNLPProblems, :PureJuMP]
# list_problems should be the intersection of ADNLPProblems and PureJuMP problem names.
# Some CI runs or local edits may have removed this definition; define it here.
const list_problems = intersect(names(ADNLPProblems), names(PureJuMP))

@test length(list_problems) > 0

include("test_utils.jl")

Expand Down