Skip to content

Commit 997200a

Browse files
committed
format
1 parent 2e39b0c commit 997200a

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

test/infeasibility.jl

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ function test_range_equalto_3()
285285
return
286286
end
287287

288-
289288
function test_iis_feasible()
290289
model = Model(HiGHS.Optimizer)
291290
set_silent(model)
@@ -325,7 +324,8 @@ function test_iis()
325324
ret = ModelAnalyzer.list_of_issues(data, list[1])
326325
@test length(ret) == 1
327326
@test length(ret[].constraint) == 2
328-
@test Set([ret[].constraint[1], ret[].constraint[2]]) == Set(JuMP.index.([c2, c1]))
327+
@test Set([ret[].constraint[1], ret[].constraint[2]]) ==
328+
Set(JuMP.index.([c2, c1]))
329329
#
330330
buf = IOBuffer()
331331
ModelAnalyzer.summarize(
@@ -362,7 +362,6 @@ function test_iis()
362362
return
363363
end
364364

365-
366365
function test_iis_multiple()
367366
model = Model(HiGHS.Optimizer)
368367
set_silent(model)
@@ -387,7 +386,8 @@ function test_iis_multiple()
387386
@test length(ret) == 1
388387
@test length(ret[].constraint) == 2
389388
@test JuMP.index(c2) in Set([ret[].constraint[1], ret[].constraint[2]])
390-
@test Set([ret[].constraint[1], ret[].constraint[2]]) Set(JuMP.index.([c3, c2, c1]))
389+
@test Set([ret[].constraint[1], ret[].constraint[2]])
390+
Set(JuMP.index.([c3, c2, c1]))
391391
return
392392
end
393393

@@ -413,7 +413,8 @@ function test_iis_interval_right()
413413
ret = ModelAnalyzer.list_of_issues(data, list[1])
414414
@test length(ret) == 1
415415
@test length(ret[].constraint) == 2
416-
@test Set([ret[].constraint[1], ret[].constraint[2]]) == Set(JuMP.index.([c2, c1]))
416+
@test Set([ret[].constraint[1], ret[].constraint[2]]) ==
417+
Set(JuMP.index.([c2, c1]))
417418
return
418419
end
419420

@@ -439,7 +440,8 @@ function test_iis_interval_left()
439440
ret = ModelAnalyzer.list_of_issues(data, list[1])
440441
@test length(ret) == 1
441442
@test length(ret[].constraint) == 2
442-
@test Set([ret[].constraint[1], ret[].constraint[2]]) == Set(JuMP.index.([c2, c1]))
443+
@test Set([ret[].constraint[1], ret[].constraint[2]]) ==
444+
Set(JuMP.index.([c2, c1]))
443445
return
444446
end
445447

@@ -468,7 +470,8 @@ function test_iis_spare()
468470
ret = ModelAnalyzer.list_of_issues(data, list[1])
469471
@test length(ret) == 1
470472
@test length(ret[].constraint) == 2
471-
@test Set([ret[].constraint[1], ret[].constraint[2]]) == Set(JuMP.index.([c2, c1]))
473+
@test Set([ret[].constraint[1], ret[].constraint[2]]) ==
474+
Set(JuMP.index.([c2, c1]))
472475
return
473476
end
474477

0 commit comments

Comments
 (0)