diff --git a/test/src/instance/parse_test.jl b/test/src/instance/parse_test.jl index 7511afc..0e550ec 100644 --- a/test/src/instance/parse_test.jl +++ b/test/src/instance/parse_test.jl @@ -72,7 +72,10 @@ function instance_parse_test() @test plant.sizes[1].opening_cost == [3000, 3000] @test plant.sizes[1].fixed_operating_cost == [50, 50] @test plant.sizes[1].variable_operating_cost == [50, 50] - @test plant.sizes[1] == plant.sizes[2] + @test plant.sizes[2].capacity == 1000.0 + @test plant.sizes[2].opening_cost == [3000, 3000] + @test plant.sizes[2].fixed_operating_cost == [50, 50] + @test plant.sizes[2].variable_operating_cost == [50, 50] p4 = product_name_to_product["P4"] @test plant.output[p3] == 0.05