Skip to content

Commit

Permalink
Add comment explaining design
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jan 5, 2019
1 parent ff3e01a commit c8d6ef4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/print.jl
Expand Up @@ -475,6 +475,8 @@ end

# Test printing of models of type `ModelType` for which the model is stored in
# its JuMP form, e.g., as `AbstractVariable`s and `AbstractConstraint`s.
# This is used by `JuMPExtension` but can also be used by external packages such
# as `StructJuMP`, see https://github.com/JuliaOpt/JuMP.jl/issues/1711
function model_extension_printing_test(ModelType::Type{<:JuMP.AbstractModel})
@testset "Model" begin
repl(s) = JuMP.math_symbol(REPLMode, s)
Expand Down

0 comments on commit c8d6ef4

Please sign in to comment.