Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Aug 10, 2024
1 parent 79ae4d1 commit f7dce00
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/test_print.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1110,4 +1110,18 @@ function test_symmetric_constraint()
return
end

function test_show_generic_model_bigfloat()
model = GenericModel{BigFloat}()
ret = """
A JuMP Model
├ value_type: BigFloat
├ solver: none
├ objective_sense: FEASIBILITY_SENSE
├ num_variables: 0
├ num_constraints: 0
└ Names registered in the model: none"""
@test sprint(show, model) == ret
return
end

end # TestPrint

0 comments on commit f7dce00

Please sign in to comment.