circular-while*, add corner case test

db4
Jon Harper 2013-07-29 22:27:17 +02:00 committed by John Benediktsson
parent 2dba2504fa
commit b5700cd3f5
1 changed files with 6 additions and 0 deletions

View File

@ -48,3 +48,9 @@ IN: circular.tests
[ [ push ] [ length 5 < ] bi ] curry circular-while*
] keep
] unit-test
[ V{ 1 } ] [
{ 1 2 3 } <circular> V{ } [
[ push f ] curry circular-while*
] keep
] unit-test