Use DO instead of DOTIMES in SEQUENCE-ERROR and ARRAY-ERROR.
[lisp-unit.git] / defpackage.lisp
blob1205471fbb41a6b2fe60e598a97a732a0a3c36c9
1 ;;;-*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
3 #|
4 Copyright (c) 2004-2005 Christopher K. Riesbeck
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included
14 in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 OTHER DEALINGS IN THE SOFTWARE.
25 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26 ;;; Packages
27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
29 (common-lisp:defpackage #:lisp-unit
30 (:use #:common-lisp)
31 (:export #:define-test #:run-all-tests #:run-tests
32 #:assert-eq #:assert-eql #:assert-equal #:assert-equalp
33 #:assert-error #:assert-expands #:assert-false
34 #:assert-equality #:assert-prints #:assert-true
35 #:get-test-code #:get-tests
36 #:remove-all-tests #:remove-tests
37 #:logically-equal #:set-equal
38 #:use-debugger
39 #:with-test-listener
40 ;; Floating point parameters
41 #:*epsilon* #:*significant-figures*
42 ;; Floating point predicates and assertions
43 #:float-equal #:assert-float-equal
44 #:complex-equal #:assert-complex-equal
45 #:number-equal #:assert-number-equal
46 #:sigfig-equal #:assert-sigfig-equal
47 #:array-equal #:assert-array-equal
48 #:numerical-equal #:assert-numerical-equal
49 ;; Floating point diagnostic functions
50 #:float-error #:float-error-epsilon
51 #:complex-error #:complex-error-epsilon
52 #:number-error #:number-error-epsilon
53 #:sequence-error #:array-error))
55 (pushnew :lisp-unit common-lisp:*features*)