From 8043c1edfdf32a8cf5915b86ccd7b42feb7898d8 Mon Sep 17 00:00:00 2001 From: gheber Date: Wed, 31 Dec 2014 17:03:16 -0600 Subject: [PATCH] Added CCN test from Kenzo handbook. --- kenzo-test.asd | 3 +- package.lisp | 4 +++ test/ccn.lisp | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 test/ccn.lisp diff --git a/kenzo-test.asd b/kenzo-test.asd index d4bb497..c53521b 100644 --- a/kenzo-test.asd +++ b/kenzo-test.asd @@ -11,4 +11,5 @@ (:file "chain-complexes-test") (:file "chcm-elementary-op-test") (:file "diabolo") - (:file "circle"))) + (:file "circle") + (:file "ccn"))) diff --git a/package.lisp b/package.lisp index eb7a166..a47169b 100644 --- a/package.lisp +++ b/package.lisp @@ -31,9 +31,12 @@ CHAIN-COMPLEX CMBN-CMBN CMBN-DEGR + DEGR + DFFR1 CMBN-LIST MAKE-CMBN MAKE-RESULT + MORPHISM ;; combinations.lisp @@ -63,6 +66,7 @@ ;; macros.lisp + ? BASIS BINOMIAL-P-Q CFFC diff --git a/test/ccn.lisp b/test/ccn.lisp new file mode 100644 index 0000000..1045f81 --- /dev/null +++ b/test/ccn.lisp @@ -0,0 +1,92 @@ + +(in-package :kenzo-test) + +(in-suite :kenzo) + +(defun ccn () + (the cat:chain-complex + (cat:build-chcm + :cmpr #'cat:f-cmpr + :basis #'(lambda (n) + (cat: