Commit 53bf853d authored by pfdietz's avatar pfdietz
Browse files

Added another cons subtypep test, this one using OR and INTEGER range types,...

Added another cons subtypep test, this one using OR and INTEGER range types, decomposing a square into five nonoverlapping rectangular pieces.
parent 75a33687
......@@ -77,3 +77,14 @@
'(cons (or symbol integer)
(cons (or symbol integer) (or symbol integer))))
nil)
(deftest subtypep.cons.9
(check-equivalence
'(or
(cons (integer 0 (3)) (integer 0 (6)))
(cons (integer 3 (9)) (integer 0 (3)))
(cons (integer 0 (6)) (integer 6 (9)))
(cons (integer 6 (9)) (integer 3 (9)))
(cons (integer 3 (6)) (integer 3 (6))))
'(cons (integer 0 (9)) (integer 0 (9))))
nil)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment