mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-05 23:38:52 -06:00
Reactivate all tests
This commit is contained in:
@@ -42,8 +42,9 @@ using RELOG, Cbc, JuMP, Printf, JSON, MathOptInterface.FileFormats
|
|||||||
end
|
end
|
||||||
|
|
||||||
@testset "solve" begin
|
@testset "solve" begin
|
||||||
|
solution_filename = tempname()
|
||||||
solution = RELOG.solve("$(pwd())/../instances/s1.json",
|
solution = RELOG.solve("$(pwd())/../instances/s1.json",
|
||||||
output="$(pwd())/../tmp/sol.json")
|
output=solution_filename)
|
||||||
|
|
||||||
@test "Costs" in keys(solution)
|
@test "Costs" in keys(solution)
|
||||||
@test "Fixed operating (\$)" in keys(solution["Costs"])
|
@test "Fixed operating (\$)" in keys(solution["Costs"])
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
using Test
|
using Test
|
||||||
|
|
||||||
@testset "RELOG" begin
|
@testset "RELOG" begin
|
||||||
#include("instance_test.jl")
|
include("instance_test.jl")
|
||||||
#include("graph_test.jl")
|
include("graph_test.jl")
|
||||||
#include("model_test.jl")
|
include("model_test.jl")
|
||||||
include("reports_test.jl")
|
include("reports_test.jl")
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user