]> gitweb.factorcode.org Git - factor.git/commitdiff
inspector tests
authorSlava Pestov <slava@factorcode.org>
Wed, 6 Jul 2005 05:27:59 +0000 (05:27 +0000)
committerSlava Pestov <slava@factorcode.org>
Wed, 6 Jul 2005 05:27:59 +0000 (05:27 +0000)
library/test/inspector.factor [new file with mode: 0644]
library/test/test.factor

diff --git a/library/test/inspector.factor b/library/test/inspector.factor
new file mode 100644 (file)
index 0000000..e38641c
--- /dev/null
@@ -0,0 +1,11 @@
+IN: temporary
+USING: test inspector prettyprint math ;
+
+[[ 1 2 ]] inspect .
+[ 1 2 3 ] inspect .
+f inspect .
+\ + inspect .
+
+[ "hello world how are you" ]
+[ [ "hello" "world" "how" "are" "you" ] " " join ]
+unit-test
index 1f16a5c5ff28c5edc47e443240d1911c448ccf50..c70544a636499257fccc75a8f7598c295d07e70f 100644 (file)
@@ -91,7 +91,7 @@ SYMBOL: failures
         "inference" "interpreter"
         "alien"
         "line-editor" "gadgets" "memory" "redefine"
-        "annotate" "sequences" "binary"
+        "annotate" "sequences" "binary" "inspector"
     ] run-tests ;
 
 : benchmarks