Reactivate all tests

This commit is contained in:
2020-09-18 12:07:25 -05:00
parent 8c8e66971a
commit 18ea5f5ba8
2 changed files with 5 additions and 4 deletions

View File

@@ -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"])

View File

@@ -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