factor/library/test/memory.factor

18 lines
356 B
Factor

IN: temporary
USING: generic kernel kernel-internals math memory prettyprint
sequences test words ;
TUPLE: testing x y z ;
[ f 1 2 3 ] [ 1 2 3 <testing> [ ] each-slot ] unit-test
[ ] [
num-types [
type>class [
"predicate" word-prop instances [
class drop
] each
] when*
] each
] unit-test