projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.1.63:
[sbcl.git]
/
tests
/
type.before-xc.lisp
diff --git
a/tests/type.before-xc.lisp
b/tests/type.before-xc.lisp
index
5b03e45
..
90d8f1d
100644
(file)
--- a/
tests/type.before-xc.lisp
+++ b/
tests/type.before-xc.lisp
@@
-209,4
+209,11
@@
(specifier-type '(or (single-float -1.0 1.0)
(single-float 0.1))))))
(specifier-type '(or (single-float -1.0 1.0)
(single-float 0.1))))))
+(assert (sb-xc:typep #\, 'character))
+(assert (sb-xc:typep #\@ 'character))
+
+(assert (type= (type-intersection (specifier-type '(member #\a #\c #\e))
+ (specifier-type '(member #\b #\c #\f)))
+ (specifier-type '(member #\c))))
+
(/show "done with tests/type.before-xc.lisp")
(/show "done with tests/type.before-xc.lisp")