circular-while*, add corner case test
parent
2dba2504fa
commit
b5700cd3f5
|
@ -48,3 +48,9 @@ IN: circular.tests
|
||||||
[ [ push ] [ length 5 < ] bi ] curry circular-while*
|
[ [ push ] [ length 5 < ] bi ] curry circular-while*
|
||||||
] keep
|
] keep
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
[ V{ 1 } ] [
|
||||||
|
{ 1 2 3 } <circular> V{ } [
|
||||||
|
[ push f ] curry circular-while*
|
||||||
|
] keep
|
||||||
|
] unit-test
|
||||||
|
|
Loading…
Reference in New Issue