: shake-and-bake ( vocab -- )\r
[ "test.image" temp-file delete-file ] ignore-errors\r
"resource:" [\r
- >r vm\r
- "test.image" temp-file\r
- r> dup deploy-config make-deploy-image\r
+ [ vm "test.image" temp-file ] dip\r
+ dup deploy-config make-deploy-image\r
] with-directory ;\r
\r
: small-enough? ( n -- ? )\r
- >r "test.image" temp-file file-info size>> r> cell 4 / * <= ;\r
+ [ "test.image" temp-file file-info size>> ] [ cell 4 / * ] bi* <= ;\r
\r
[ ] [ "hello-world" shake-and-bake ] unit-test\r
\r