Skip to content

Commit

Permalink
Switch test file from jld2 to daec (#53)
Browse files Browse the repository at this point in the history
* Switch test file from jld2 to daec
  • Loading branch information
jasonjensen authored May 17, 2024
1 parent 67de858 commit 141035e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ version = "0.5.2"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
ModelBaseEcon = "1d16192e-b65e-11ea-11ed-0789cee22d2f"
Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2"
Expand All @@ -23,7 +22,6 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
DelimitedFiles = "1.7"
DiffResults = "1.0"
ForwardDiff = "0.10"
JLD2 = "0.4"
LinearAlgebra = "1.7"
ModelBaseEcon = "0.6"
Pardiso = "0.5"
Expand Down
Binary file removed test/data/shkdcmp_E7A.jld2
Binary file not shown.
Binary file added test/data/shkdecomp_E7A.daec
Binary file not shown.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##################################################################################
# This file is part of StateSpaceEcon.jl
# BSD 3-Clause License
# Copyright (c) 2020-2023, Bank of Canada
# Copyright (c) 2020-2024, Bank of Canada
# All rights reserved.
##################################################################################

Expand Down
8 changes: 4 additions & 4 deletions test/shockdecomp.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
##################################################################################
# This file is part of StateSpaceEcon.jl
# BSD 3-Clause License
# Copyright (c) 2020-2023, Bank of Canada
# Copyright (c) 2020-2024, Bank of Canada
# All rights reserved.
##################################################################################

using LinearAlgebra
using JLD2
using TimeSeriesEcon.DataEcon
@testset "shkdcmp" begin
m = deepcopy(E7A.model)
expected = Workspace(load("data/shkdcmp_E7A.jld2"))
m = E7A.newmodel()
expected = readdb("data/shkdecomp_E7A.daec")

empty!(m.sstate.constraints)
@steadystate m lc = 1
Expand Down

0 comments on commit 141035e

Please sign in to comment.