Merge branch 'master' into arrays
[jscl.git] / tests / control.lisp
index 5e010e3..fba8956 100644 (file)
                    (zfoo 5 rf 3)
                    out)))
              '(-5 -4 -3 999 1 2 3 4 5)))
+
+;; COMPLEMENT
+(test (funcall (complement #'zerop) 1))
+;; FIXME: Uncomment whenever characterp is defined
+;(test (not (funcall (complement #'characterp) #\A)))
+(test (not (funcall (complement #'member) 'a '(a b c))))
+(test (funcall (complement #'member) 'd '(a b c)))