Skip to content

Commit 02296f0

Browse files
committed
1 parent cb7cf1e commit 02296f0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/tests/units/series-test.r3

+11
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,17 @@ Rebol [
11341134

11351135
===end-group===
11361136

1137+
===start-group=== "ARRAY"
1138+
--test-- "array"
1139+
--assert [#[none] #[none]] = array 2
1140+
--test-- "array/initial"
1141+
--assert [0 0] = array/initial 2 0
1142+
--test-- "array/initial func"
1143+
;@@ https://github.com/Oldes/Rebol-issues/issues/2193
1144+
--assert [10 9 8 7 6 5 4 3 2 1] = array/initial length: 10 func [] [-- length]
1145+
--assert [["1 1" "1 2"] ["2 1" "2 2"]] = array/initial [2 2] func [x y] [ajoin [x " " y]]
1146+
===end-group===
1147+
11371148

11381149
;-- VECTOR related tests moved to %vector-test.r3
11391150

0 commit comments

Comments
 (0)