2011-10-13 19:49:54 -04:00
|
|
|
USING: generic.parser tools.test ;
|
|
|
|
|
|
|
|
IN: generic.parser.tests
|
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ t } [ ( -- ) ( -- ) method-effect= ] unit-test
|
|
|
|
{ t } [ ( a -- b ) ( x -- y ) method-effect= ] unit-test
|
|
|
|
{ f } [ ( a b -- c ) ( x -- y ) method-effect= ] unit-test
|
|
|
|
{ f } [ ( a -- b ) ( x y -- z ) method-effect= ] unit-test
|
2011-10-13 19:49:54 -04:00
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ t } [ ( -- * ) ( -- ) method-effect= ] unit-test
|
|
|
|
{ f } [ ( -- * ) ( x -- y ) method-effect= ] unit-test
|
|
|
|
{ t } [ ( x -- * ) ( x -- y ) method-effect= ] unit-test
|
|
|
|
{ t } [ ( x -- * ) ( x -- y z ) method-effect= ] unit-test
|