diff --git a/test/interface.jl b/test/interface.jl index b777471f..5d02a22a 100644 --- a/test/interface.jl +++ b/test/interface.jl @@ -4,16 +4,11 @@ t = 1.0collect(1:10) A = LinearInterpolation(u, t) for i in 1:10 - @test u[i] == A[i] + @test u[i] == A.u[i] end -for i in 11:20 - @test t[i - 10] == A[i] -end - -A = LinearInterpolation{false}(u, t, true) for i in 1:10 - @test u[i] == A[i] + @test t[i] == A.t[i] end using Symbolics