From bd59cb0985a3feef081b211568dc7b5b8c4b3255 Mon Sep 17 00:00:00 2001 From: Guillaume Marques Date: Thu, 4 May 2023 16:56:40 +0200 Subject: [PATCH] fix parser test (#864) --- test/integration/parser/parser.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/parser/parser.jl b/test/integration/parser/parser.jl index 89c92e2bb..29835aec0 100644 --- a/test/integration/parser/parser.jl +++ b/test/integration/parser/parser.jl @@ -498,11 +498,11 @@ function minimize_test3() # or the code. Make the test independent of the order. names, kinds, duties, costs, bounds = get_vars_info(master) - @test names == ["x1", "x2", "z"] - @test kinds == [ClMP.Integ, ClMP.Integ, ClMP.Continuous] - @test duties == [ClMP.MasterBendFirstStageVar, ClMP.MasterBendFirstStageVar, ClMP.MasterBendSecondStageCostVar] + @test names == ["z", "x2", "x1"] + @test kinds == [ClMP.Continuous, ClMP.Integ, ClMP.Integ] + @test duties == [ClMP.MasterBendSecondStageCostVar, ClMP.MasterPureVar, ClMP.MasterPureVar] @test costs == [1.0, 4.0, 1.0] - @test bounds == [(0.0, Inf), (0.0, Inf), (-Inf, Inf)] + @test bounds == [(-Inf, Inf), (0.0, Inf), (0, Inf)] constrs = get_constrs_info(master) c1 = constrs[1] # x1 + x2 >= 0