diff --git a/test/runtests.jl b/test/runtests.jl index 36fd355..2f9d2ef 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -24,6 +24,8 @@ using Aqua, Documenter, ExplicitImports, Interpolations, Test @test C[1, 2, 2](3.2, 3.8) == Ai(3.2, 3.8, 1, 2, 2) @test Interpolations.gradient(C[1, 2, 2], 3.2, 3.8) === Interpolations.gradient(Ai, 3.2, 3.8, 1, 2, 2) + # gradient cache miss: different center forces cache update (lines 189-193) + @test Interpolations.gradient(C[1, 2, 2], 5.2, 5.8) === Interpolations.gradient(Ai, 5.2, 5.8, 1, 2, 2) # gradient! g = zeros(2)