array-misc.lsp 643 Bytes
Newer Older
pfdietz's avatar
pfdietz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;-*- Mode:     Lisp -*-
;;;; Author:   Paul Dietz
;;;; Created:  Wed Jan 22 21:17:25 2003
;;;; Contains: Misc. tests of array features

(in-package :cl-test)

(deftest array-dimension-limit.1
  (and (<= 1024 array-dimension-limit) t)
  t)

(deftest array-dimension-limit.2
  (and (typep array-dimension-limit 'fixnum) t)
  t)

(deftest array-total-size-limit.1
  (and (<= 1024 array-total-size-limit) t)
  t)

(deftest array-total-size-limit.2
  (and (typep array-total-size-limit 'fixnum) t)
  t)

(deftest array-rank-limit.1
  (and (<= 8 array-rank-limit) t)
  t)

(deftest array-rank-limit.2
  (and (typep array-rank-limit 'fixnum) t)
  t)