Skip to content

Commit fee980e

Browse files
authored
test elementwise equality in ChebyshevDirichlet Union (#78)
1 parent a319cb4 commit fee980e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,9 @@ end
407407

408408
@testset "Union of ChebyshevDirichlet" begin
409409
dom = UnionDomain(0..1, 2..3)
410-
@test components(union(JacobiWeight.(-0.5,-0.5,ChebyshevDirichlet{1,1}.(components(dom)))...)) ==
411-
(JacobiWeight.(-0.5,-0.5,ChebyshevDirichlet{1,1}.(components(dom)))...,)
410+
sps = components(union(JacobiWeight.(-0.5,-0.5,ChebyshevDirichlet{1,1}.(components(dom)))...))
411+
spsexpected = (JacobiWeight.(-0.5,-0.5,ChebyshevDirichlet{1,1}.(components(dom)))...,)
412+
@test all(((x,y),) -> x == y, zip(sps, spsexpected))
412413
end
413414

414415
@testset "Ultraspherical special functions" begin

0 commit comments

Comments
 (0)