Skip to content

Commit a0008db

Browse files
mzaffalonMichele Zaffalon
andauthored
Add test for kron product of Fourier spaces (#117)
* Add test for kron product of Fourier spaces * Bump Project.toml --------- Co-authored-by: Michele Zaffalon <[email protected]>
1 parent e6efd65 commit a0008db

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunFourier"
22
uuid = "59844689-9c9d-51bf-9583-5b794ec66d30"
3-
version = "0.3.25"
3+
version = "0.3.26"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,14 @@ end
572572
@test L[1,1] == 0
573573
end
574574

575+
@testset "tensor product of Fourier spaces, issue ApproxFun.jl#929" begin
576+
f = Fun(Fourier(), [0; 0; 1])
577+
g = Fun(Fourier(), [0; 0; 0; 0; 0; 1])
578+
h = f g
579+
@test h/3, π/2) f/3) * g/2)
580+
@test h/4, π/5) f/4) * g/5)
581+
end
582+
575583
@testset "Piecewise + Constant" begin
576584
Γ=Circle() Circle(0.0,0.4)
577585
o=ones(Γ)

0 commit comments

Comments
 (0)