Skip to content

Commit b82e295

Browse files
committed
tests: flatview -> reduce(vcat, Array(...))
1 parent 1ff2d4d commit b82e295

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/vector_of_arrays.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ using ArraysOfArrays: full_consistency_checks, append_elemptr!, element_ptr
110110
V3 = VectorOfVectors(ref_AoA1(Float32, 3))
111111
V4 = VectorOfVectors(ref_AoA1(Float32, 4))
112112

113-
@test reduce(vcat, V1) == flatview(V1)
114-
@test reduce(vcat, V2) == flatview(V2)
115-
@test reduce(vcat, V3) == flatview(V3)
116-
@test reduce(vcat, V4) == flatview(V4)
113+
@test reduce(vcat, V1) == reduce(vcat, Array(V1))
114+
@test reduce(vcat, V2) == reduce(vcat, Array(V2))
115+
@test reduce(vcat, V3) == reduce(vcat, Array(V3))
116+
@test reduce(vcat, V4) == reduce(vcat, Array(V4))
117117

118118
@test (@allocated reduce(vcat, V1)) == 0
119119
@test (@allocated reduce(vcat, V2)) == 0

0 commit comments

Comments
 (0)