Skip to content

Commit

Permalink
test: update interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed May 6, 2024
1 parent d7ed311 commit 40a6d96
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40a6d96

Please sign in to comment.