add some unit tests for try-find
parent
4edc37b70c
commit
88e20af800
|
@ -106,3 +106,15 @@ SYMBOL: error-counter
|
||||||
[ { 4 } ] [ { 2 2 } [ + ] with-datastack ] unit-test
|
[ { 4 } ] [ { 2 2 } [ + ] with-datastack ] unit-test
|
||||||
|
|
||||||
[ with-datastack ] must-infer
|
[ with-datastack ] must-infer
|
||||||
|
|
||||||
|
[ { t 1 } ]
|
||||||
|
[ { 1 1 } [ odd? ] try-find 2array ] unit-test
|
||||||
|
|
||||||
|
[ { 9 3 } ]
|
||||||
|
[ { 3 3 } [ sq ] try-find 2array ] unit-test
|
||||||
|
|
||||||
|
[ { f f } ]
|
||||||
|
[ { 1 1 } [ even? ] try-find 2array ] unit-test
|
||||||
|
|
||||||
|
[ { f f } ]
|
||||||
|
[ { 1 1 } [ "error" throw ] try-find 2array ] unit-test
|
||||||
|
|
Loading…
Reference in New Issue