Skip to content

Commit 40cb6d4

Browse files
committed
Update MultivariateTest.jl
1 parent 45a58ff commit 40cb6d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/MultivariateTest.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ import ApproxFunBase: testbandedblockbandedoperator, testraggedbelowoperator, fa
44
testblockbandedoperator
55
import ApproxFunOrthogonalPolynomials: chebyshevtransform
66

7+
if VERSION < v"1.6-"
8+
oneto(n) = Base.OneTo(n)
9+
else
10+
import Base: oneto
11+
end
12+
713
@testset "Multivariate" begin
814
@testset "Square" begin
915
S = Space(ChebyshevInterval()^2)
10-
@test @inferred(blocklengths(S)) Base.OneTo(∞)
16+
@test @inferred(blocklengths(S)) oneto(∞)
1117

1218
@test block(tensorizer(S), 1) == Block(1)
1319

0 commit comments

Comments
 (0)