Skip to content

Commit 7058386

Browse files
committed
Update test_chebyshev.jl
1 parent bce1637 commit 7058386

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/test_chebyshev.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,14 @@ Base.:(==)(::FooBasis, ::FooBasis) = true
169169
@test (2T)'*(a .* T) isa Matrix
170170
@test T'*(2T) isa Matrix
171171
@test T'*(2T*randn(5)) isa Vector
172-
@test LazyArrays.simplifiable(*, T', T*(1:5)) == Val(true)
173172
@test (2T)'*(T*(1:5)) T'*(2T*(1:5)) T'BroadcastQuasiMatrix(*, 2, T*(1:5))
173+
@test T' * (a .* (T * (1:5))) T' * ((a .* T) * (1:5))
174+
175+
@test LazyArrays.simplifiable(*, T', T*(1:5)) == Val(true)
176+
@test LazyArrays.simplifiable(*, T', (a .* (T * (1:5)))) == Val(true)
177+
@test LazyArrays.simplifiable(*, T', a .* T) == Val(true)
178+
@test LazyArrays.simplifiable(*, T', 2T) == Val(true)
179+
@test LazyArrays.simplifiable(*, T', BroadcastQuasiMatrix(*, 2, T*(1:5))) == Val(true)
174180
end
175181

176182
@testset "sum/dot/diff" begin

0 commit comments

Comments
 (0)