remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / unix / groups / groups-tests.factor
blob2e989b32c0f86cfe3901e8e0cb40029c1049ea5f
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test unix.groups kernel strings math ;
4 IN: unix.groups.tests
6 [ ] [ all-groups drop ] unit-test
8 \ all-groups must-infer
10 [ t ] [ real-group-name string? ] unit-test
11 [ t ] [ effective-group-name string? ] unit-test
13 [ t ] [ real-group-id integer? ] unit-test
14 [ t ] [ effective-group-id integer? ] unit-test
16 [ ] [ real-group-id set-real-group ] unit-test
17 [ ] [ effective-group-id set-effective-group ] unit-test
19 [ ] [ real-group-name [ ] with-real-group ] unit-test
20 [ ] [ real-group-id [ ] with-real-group ] unit-test
22 [ ] [ effective-group-name [ ] with-effective-group ] unit-test
23 [ ] [ effective-group-id [ ] with-effective-group ] unit-test
25 [ ] [ [ ] with-group-cache ] unit-test
27 [ ] [ real-group-id group-name drop ] unit-test
29 [ "888888888888888" ] [ 888888888888888 group-name ] unit-test
30 [ f ]
31 [ "please-oh-please-don't-have-a-group-named-this123lalala" group-struct ] unit-test