File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ function _test_int_round_trip(src)
11451145end
11461146
11471147function test_int_round_trip ()
1148- _test_int_round_trip (
1148+ for src in [
11491149 """
11501150 minimize
11511151 obj: 1 + 2 x
@@ -1155,8 +1155,6 @@ function test_int_round_trip()
11551155 x >= 0
11561156 End
11571157 """ ,
1158- )
1159- _test_int_round_trip (
11601158 """
11611159 minimize
11621160 obj: 1 x + [ 1 x ^ 2 ]/2
@@ -1166,8 +1164,6 @@ function test_int_round_trip()
11661164 x >= 0
11671165 End
11681166 """ ,
1169- )
1170- _test_int_round_trip (
11711167 """
11721168 minimize
11731169 obj: [ 2 x ^ 2 ]/2
@@ -1177,8 +1173,6 @@ function test_int_round_trip()
11771173 x >= 0
11781174 End
11791175 """ ,
1180- )
1181- _test_int_round_trip (
11821176 """
11831177 minimize
11841178 obj: [ 3 x ^ 2 + 4 x * y + 5 y ^ 2 ]/2
@@ -1189,7 +1183,9 @@ function test_int_round_trip()
11891183 y >= 1
11901184 End
11911185 """ ,
1192- )
1186+ ]
1187+ _test_int_round_trip (src)
1188+ end
11931189 return
11941190end
11951191
You can’t perform that action at this time.
0 commit comments