From d0a7c60598a1634332978143c05c9e3c157ac01d Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 14 Jul 2018 17:38:45 -0700 Subject: [PATCH] more approximates --- test/save_idxs.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/save_idxs.jl b/test/save_idxs.jl index e99bcaa..4af662a 100644 --- a/test/save_idxs.jl +++ b/test/save_idxs.jl @@ -35,7 +35,7 @@ @test length(dde_int.sol.u[1]) == 2 ## interpolation - @test sol(25:100, idxs=2) == [u[1] for u in sol(25:100, idxs=[2])] + @test sol(25:100, idxs=2) ≈ [u[1] for u in sol(25:100, idxs=[2])] end # with keyword argument @@ -97,7 +97,7 @@ ## interpolation of solution equals second component of ## interpolation of complete solution - @test sol(25:100, idxs=2) == sol2(25:100, idxs=1) + @test sol(25:100, idxs=2) ≈ sol2(25:100, idxs=1) end end end