@@ -42,13 +42,13 @@ function test_container()
4242 @test con_it_expr isa ExprGenerator
4343 con_expr = con_it_expr. expr. expr
4444 @test sprint(show, con_ref) ==
45- " ParametrizedArray(((x + getindex(IteratorIndex(1), 2.0)) - getindex(IteratorIndex(1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
45+ " $ ParametrizedArray (((x + getindex($ IteratorIndex (1), 2.0)) - getindex($ IteratorIndex (1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
4646 @test sprint(show, MIME" text/latex" (), con_ref) ==
47- " ParametrizedArray(((x + getindex(IteratorIndex(1), 2.0)) - getindex(IteratorIndex(1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
47+ " $ ParametrizedArray (((x + getindex($ IteratorIndex (1), 2.0)) - getindex($ IteratorIndex (1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
4848 @test sprint(show, con_expr) ==
49- " ((x + getindex(IteratorIndex(1), 2.0)) - getindex(IteratorIndex(1), 3.0)) - 0.0"
49+ " ((x + getindex($ IteratorIndex (1), 2.0)) - getindex($ IteratorIndex (1), 3.0)) - 0.0"
5050 @test sprint(show, MIME" text/latex" (), con_expr) ==
51- " \$ {\\ left({\\ left({x} + {\\ textsf{getindex}\\ left({IteratorIndex(1)}, {2.0}\\ right)}\\ right)} - {\\ textsf{getindex}\\ left({IteratorIndex(1)}, {3.0}\\ right)}\\ right)} - {0.0} \$ "
51+ " \$ {\\ left({\\ left({x} + {\\ textsf{getindex}\\ left({$ IteratorIndex (1)}, {2.0}\\ right)}\\ right)} - {\\ textsf{getindex}\\ left({$ IteratorIndex (1)}, {3.0}\\ right)}\\ right)} - {0.0} \$ "
5252
5353 i = GenOpt. iterator(keys)
5454 expr = x + d1[i] - d2[i]
0 commit comments