Skip to content

Commit

Permalink
fix test typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed May 15, 2024
1 parent db4cfd7 commit 7fc3395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_device_thermal_generation_constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_path = mktempdir()
("pwl_io_cost_test", 3421.64, ThermalBasicUnitCommitment),
("pwl_io_fuel_test", 3421.64, ThermalBasicUnitCommitment),
("pwl_incremental_cost_test", 3424.43, ThermalBasicUnitCommitment),
("pwl_incremental_fuel_test", 4271.76, ThermalBasicUnitCommitment),
("pwl_incremental_fuel_test", 3424.43, ThermalBasicUnitCommitment),
("non_convex_io_pwl_cost_test", 3047.14, ThermalBasicUnitCommitment),
]
for (i, cost_reference, thermal_formulation) in test_cases
Expand Down Expand Up @@ -671,7 +671,7 @@ end
build!(UC; output_dir = mktempdir(; cleanup = true))
@test build!(UC; output_dir = mktempdir(; cleanup = true)) == PSI.ModelBuildStatus.BUILT
moi_tests(UC, 56, 0, 56, 14, 21, true)
psi_checksolve_test(UC, [MOI.OPTIMAL], 13143.5)
psi_checksolve_test(UC, [MOI.OPTIMAL], 8223.50)
end

#= Test disabled due to inconsistency between the models and the data
Expand Down

0 comments on commit 7fc3395

Please sign in to comment.