Skip to content

Commit cdca3d7

Browse files
few more tests
1 parent a406a46 commit cdca3d7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/test_rectdisk.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import MultivariateOrthogonalPolynomials: dunklxu_raising, dunklxu_lowering, Ang
3535

3636
@test (L * R)[Block.(1:N), Block.(1:N)] (I - X^2 - Y^2)[Block.(1:N), Block.(1:N)]
3737

38+
@test (DunklXuDisk() \ WeightedDunklXuDisk(1.0))[Block.(1:N), Block.(1:N)] (WeightedDunklXuDisk(0.0) \ WeightedDunklXuDisk(1.0))[Block.(1:N), Block.(1:N)]
39+
3840
∂x = PartialDerivative{1}(axes(P, 1))
3941
∂y = PartialDerivative{2}(axes(P, 1))
4042

@@ -58,13 +60,15 @@ import MultivariateOrthogonalPolynomials: dunklxu_raising, dunklxu_lowering, Ang
5860

5961
∂θ = AngularMomentum(axes(P, 1))
6062
@test axes(∂θ) == (axes(P, 1), axes(P, 1))
61-
@test ∂θ == AngularMomentum(axes(Q, 1))
63+
@test ∂θ == AngularMomentum(axes(Q, 1)) == AngularMomentum(axes(P, 1).domain)
6264
@test copy(∂θ) ∂θ
6365

6466
A = P \ (∂θ * P)
6567

6668
@test A[Block.(1:N), Block.(1:N)] C
67-
@test (A^2)[Block.(1:N), Block.(1:N)] A[Block.(1:N), Block.(1:N)]^2
69+
70+
A2 = P \ (∂θ^2 * P)
71+
@test A2[Block.(1:N), Block.(1:N)] (A^2)[Block.(1:N), Block.(1:N)] A[Block.(1:N), Block.(1:N)]^2
6872

6973
∂x = PartialDerivative{1}(axes(WQ, 1))
7074
∂y = PartialDerivative{2}(axes(WQ, 1))

0 commit comments

Comments
 (0)