Fix failing test

This commit is contained in:
2023-07-26 10:00:07 -05:00
parent 84bd25b04d
commit 3e54e767c4

View File

@@ -72,7 +72,10 @@ function instance_parse_test()
@test plant.sizes[1].opening_cost == [3000, 3000] @test plant.sizes[1].opening_cost == [3000, 3000]
@test plant.sizes[1].fixed_operating_cost == [50, 50] @test plant.sizes[1].fixed_operating_cost == [50, 50]
@test plant.sizes[1].variable_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"] p4 = product_name_to_product["P4"]
@test plant.output[p3] == 0.05 @test plant.output[p3] == 0.05