Skip to content

Commit d4a1f84

Browse files
committed
tests for ArraySpace
1 parent 6db70cb commit d4a1f84

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/miscAFBase.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,11 @@ using ApproxFunBase
227227
@test a[1] == 1
228228
@test a[2] exp(1)
229229
end
230+
231+
@testset "ArraySpace" begin
232+
f = Fun(x->[cos(x), exp(x)], -1..1)
233+
for x in [-1,0,1]
234+
@test (f + one(f))(x) f(x) .+ one.(f(x))
235+
end
236+
end
230237
end

0 commit comments

Comments
 (0)