remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / unix / users / users-tests.factor
blobf2a4b7bc27ea54e779e5ada034d4dbca7b9a49f9
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test unix.users kernel strings math ;
4 IN: unix.users.tests
7 [ ] [ all-users drop ] unit-test
9 \ all-users must-infer
11 [ t ] [ real-user-name string? ] unit-test
12 [ t ] [ effective-user-name string? ] unit-test
14 [ t ] [ real-user-id integer? ] unit-test
15 [ t ] [ effective-user-id integer? ] unit-test
17 [ ] [ real-user-id set-real-user ] unit-test
18 [ ] [ effective-user-id set-effective-user ] unit-test
20 [ ] [ real-user-name [ ] with-real-user ] unit-test
21 [ ] [ real-user-id [ ] with-real-user ] unit-test
23 [ ] [ effective-user-name [ ] with-effective-user ] unit-test
24 [ ] [ effective-user-id [ ] with-effective-user ] unit-test
26 [ ] [ [ ] with-user-cache ] unit-test
28 [ "9999999999999999999" ] [ 9999999999999999999 user-name ] unit-test
30 [ f ] [ 89898989898989898989898989898 user-passwd ] unit-test