Skip to content

Commit

Permalink
TST: update test to check for prealloc caches
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfairbanks committed Nov 6, 2023
1 parent d4ca1fd commit 5a6dd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,6 @@ end
# arbitrary internal variable naming.
@test budyko_sellers[only(incident(budyko_sellers, Symbol("•1"), :name)), :type] == :DualForm0
# A dual 0-form consists of ne(s) floats.
@test occursin("var\"•1\" = Vector{Float64}(undef, nparts(mesh, :E))",
@test occursin("var\"__•1\" = Decapodes.FixedSizeDiffCache(Vector{Float64}(undef, nparts(mesh, :E)))",
repr(gensim(budyko_sellers, dimension=1)))
end

0 comments on commit 5a6dd3e

Please sign in to comment.