]> gitweb.factorcode.org Git - factor.git/blob - basis/present/present-tests.factor
calendar.format: make duration>human-readable more human readable
[factor.git] / basis / present / present-tests.factor
1 USING: kernel math present sequences tools.test vocabs
2 vocabs.hierarchy ;
3
4 { "3" } [ 3 present ] unit-test
5 { "Hi" } [ "Hi" present ] unit-test
6 { "+" } [ \ + present ] unit-test
7 { "kernel" } [ "kernel" lookup-vocab present ] unit-test
8 { } [ all-disk-vocabs-recursive filter-vocabs [ present ] map drop ] unit-test
9
10 { "1+1j" } [ C{ 1 1 } present ] unit-test
11 { "1-1j" } [ C{ 1 -1 } present ] unit-test
12 { "-1+1j" } [ C{ -1 1 } present ] unit-test
13 { "-1-1j" } [ C{ -1 -1 } present ] unit-test