@@ -7,23 +7,23 @@ using Test
7
7
@testset " BSpline" begin
8
8
A = rand (8 ,20 )
9
9
10
- itp = interpolate (A, BSpline (Constant ()), OnCell () )
11
- @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Constant()), OnCell() ) with element type Float64"
10
+ itp = interpolate (A, BSpline (Constant ()))
11
+ @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Constant())) with element type Float64"
12
12
13
- itp = interpolate (A, BSpline (Constant ()), OnGrid () )
14
- @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Constant()), OnGrid() ) with element type Float64"
13
+ itp = interpolate (A, BSpline (Constant ()))
14
+ @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Constant())) with element type Float64"
15
15
16
- itp = interpolate (A, BSpline (Linear ()), OnGrid () )
17
- @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Linear()), OnGrid() ) with element type Float64"
16
+ itp = interpolate (A, BSpline (Linear ()))
17
+ @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Linear())) with element type Float64"
18
18
19
- itp = interpolate (A, BSpline (Quadratic (Reflect ())), OnCell ( ))
20
- @test summary (itp) == " 8×20 interpolate(OffsetArray(::Array{Float64,2}, 0:9, 0:21), BSpline(Quadratic(Reflect())), OnCell( )) with element type Float64"
19
+ itp = interpolate (A, BSpline (Quadratic (Reflect (OnCell ( )))))
20
+ @test summary (itp) == " 8×20 interpolate(OffsetArray(::Array{Float64,2}, 0:9, 0:21), BSpline(Quadratic(Reflect(OnCell( ))))) with element type Float64"
21
21
22
- itp = interpolate (A, (BSpline (Linear ()), NoInterp ()), OnGrid () )
23
- @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, (BSpline(Linear()), NoInterp()), OnGrid() ) with element type Float64"
22
+ itp = interpolate (A, (BSpline (Linear ()), NoInterp ()))
23
+ @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, (BSpline(Linear()), NoInterp())) with element type Float64"
24
24
25
- itp = interpolate! (copy (A), BSpline (Quadratic (InPlace ())), OnCell ( ))
26
- @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Quadratic(InPlace())), OnCell( )) with element type Float64"
25
+ itp = interpolate! (copy (A), BSpline (Quadratic (InPlace (OnCell ( )))))
26
+ @test summary (itp) == " 8×20 interpolate(::Array{Float64,2}, BSpline(Quadratic(InPlace(OnCell( ))))) with element type Float64"
27
27
end
28
28
29
29
# @testset "Gridded" begin
0 commit comments