Skip to content

Commit 3e54e76

Browse files
committed
Fix failing test
1 parent 84bd25b commit 3e54e76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/src/instance/parse_test.jl

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ function instance_parse_test()
7272
@test plant.sizes[1].opening_cost == [3000, 3000]
7373
@test plant.sizes[1].fixed_operating_cost == [50, 50]
7474
@test plant.sizes[1].variable_operating_cost == [50, 50]
75-
@test plant.sizes[1] == plant.sizes[2]
75+
@test plant.sizes[2].capacity == 1000.0
76+
@test plant.sizes[2].opening_cost == [3000, 3000]
77+
@test plant.sizes[2].fixed_operating_cost == [50, 50]
78+
@test plant.sizes[2].variable_operating_cost == [50, 50]
7679

7780
p4 = product_name_to_product["P4"]
7881
@test plant.output[p3] == 0.05

0 commit comments

Comments
 (0)