Merge branch 'internal-testing' into literal-function-bug
[lisp-unit.git] / defpackage.lisp
blobda994b539a17eb2b9b75d9687a39b4f1af0e8ae2
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 (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 ;; Rational predicates and assertions
41 :rational-equal :assert-rational-equal
42 ;; Floating point parameters
43 :*measure* :*epsilon* :*significant-figures*
44 ;; Floating point functions
45 :default-epsilon :relative-error
46 :sumsq :sump :norm
47 :relative-error-norm
48 ;; Floating point predicates and assertions
49 :float-equal :assert-float-equal
50 :sigfig-equal :assert-sigfig-equal
51 :norm-equal :assert-norm-equal
52 :number-equal :assert-number-equal
53 :numerical-equal :assert-numerical-equal
54 ;; Floating point diagnostic functions
55 :sequence-error :array-error
56 ;; Floating point data functions
57 :make-2d-list
58 :complex-random
59 :make-random-list
60 :make-random-2d-list
61 :make-random-2d-array))
63 (pushnew :lisp-unit common-lisp:*features*)