/core/definitions/definitions-tests.factor
http://github.com/abeaumont/factor · Factor · 30 lines · 20 code · 10 blank · 0 comment · 0 complexity · 53f558028f6ab0f775c94ed67ca4d522 MD5 · raw file
- USING: tools.test generic kernel definitions sequences
- compiler.units words ;
- IN: definitions.tests
- GENERIC: some-generic ( a -- b )
- USE: arrays
- M: array some-generic ;
- USE: bit-arrays
- M: bit-array some-generic ;
- USE: byte-arrays
- M: byte-array some-generic ;
- TUPLE: some-class ;
- M: some-class some-generic ;
- [ ] [
- [
- \ some-generic
- \ some-class
- 2array
- forget-all
- ] with-compilation-unit
- ] unit-test