remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / extra / mason / common / common-tests.factor
blob095cbd1a80aa16ed726bc7085679db377ba17326
1 IN: mason.common.tests
2 USING: prettyprint mason.common mason.config
3 namespaces calendar tools.test io.files io.files.temp io.encodings.utf8 ;
5 [ "00:01:01" ] [ 61000 milli-seconds>time ] unit-test
7 [ "/home/bobby/builds/factor" ] [
8     [
9         "/home/bobby/builds" builds-dir set
10         builds/factor
11     ] with-scope
12 ] unit-test
14 [ "/home/bobby/builds/2008-09-11-12-23" ] [
15     [
16         "/home/bobby/builds" builds-dir set
17         T{ timestamp
18             { year 2008 }
19             { month 9 }
20             { day 11 }
21             { hour 12 }
22             { minute 23 }
23         } datestamp stamp set
24         build-dir
25     ] with-scope
26 ] unit-test
28 [ ] [ "empty-test" temp-file utf8 [ ] with-file-writer ] unit-test
30 [ "empty-test" temp-file eval-file ] must-fail
32 [ ] [ "eval-file-test" temp-file utf8 [ { 1 2 3 } . ] with-file-writer ] unit-test
34 [ { 1 2 3 } ] [ "eval-file-test" temp-file eval-file ] unit-test