Add promises unit tests
parent
9ebd9c8d01
commit
ccc4c41725
|
@ -0,0 +1,7 @@
|
|||
IN: promises.tests
|
||||
USING: promises math tools.test ;
|
||||
|
||||
LAZY: lazy-test ( a -- b ) 1 + ;
|
||||
|
||||
{ 1 1 } [ lazy-test ] must-infer-as
|
||||
[ 3 ] [ 2 lazy-test force ] unit-test
|
Loading…
Reference in New Issue