From 3e54e767c4e0c7807cb9af343dad8a167b8b7f4a Mon Sep 17 00:00:00 2001 From: "Alinson S. Xavier" Date: Wed, 26 Jul 2023 10:00:07 -0500 Subject: [PATCH] Fix failing test --- test/src/instance/parse_test.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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