Add promises unit tests

db4
Slava Pestov 2009-03-22 21:42:23 -05:00
parent 9ebd9c8d01
commit ccc4c41725
1 changed files with 7 additions and 0 deletions

View File

@ -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