Skip to content

Commit b207ec0

Browse files
committed
simplify test
1 parent 2f56379 commit b207ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TriangleTest.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using StaticArrays, BandedMatrices, FastTransforms,
2-
ApproxFun, MultivariateOrthogonalPolynomials, Test
2+
ApproxFun, MultivariateOrthogonalPolynomials, LinearAlgebra, Test
33
import MultivariateOrthogonalPolynomials: Lowering, DuffyTriangle,
44
clenshaw, block, TriangleWeight,plan_evaluate, weight
55
import ApproxFun: testbandedblockbandedoperator, Block, BandedBlockBandedMatrix, blockcolrange, blocksize,
@@ -50,8 +50,8 @@ end
5050

5151
@testset "JacobiTriangle constructors" begin
5252
@time f = Fun((x,y)->cos(100x*y),JacobiTriangle(0.0,-0.5,-0.5)); # 0.08s
53-
@test f(0.1,0.2) cos(100*0.1*0.2)
5453
P = plan_evaluate(f)
54+
@test f(0.1,0.2) P(0.1,0.2) cos(100*0.1*0.2)
5555
@test values(f) P.(points(f))
5656

5757
@time f = Fun((x,y)->cos(500x*y),JacobiTriangle(0.0,-0.5,-0.5),40_000); # 0.2

0 commit comments

Comments
 (0)