Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a TODO file to the repository.

This is a place to jot down ideas for extensions. TODO items don't
have to be implemented, it is perfectly acceptable to mark them off
the list as well.

Also added the MIT copyright from the original lisp-unit.lisp file to
all of the files.
  • Loading branch information...
commit 7a0a6036adb2f75c7183418ba284a798cc97aa21 1 parent ff3c6af
Thomas M. Hermann authored
1  .gitignore
View
@@ -1,3 +1,4 @@
# Ignore FASL files
*.fasl
*.lx64fsl
+*~
37 TODO
View
@@ -0,0 +1,37 @@
+LISP-UNIT TODO
+
+2009-03-16
+
+(1) Update the documentation to reflect the floating point extensions
+to the library. I've already updated some of the documentation, I just
+need to crank this one out some night.
+
+(2) Better integrate the numeric diagnostic functions with the numeric
+assertions. Currently, the VALUE and FORM argument of the assertion
+must be repeated as arguments to the diagnostic function. The intent
+is that you simply note the diagnostic function that you wish to apply
+to the test in the event of a failure and the VALUE and FORM arguments
+are automagically passed to that function.
+
+(3) Improve the test report. Initially, it would be useful to only
+specifically report the failures and otherwise just report the overall
+summary. Other improvements might be some sort of progress indication,
+like 'PPPPFPPPFFFP.......' where P is pass, F is fail and (.) is not
+performed yet. Ideas here are welcome.
+
+(4) Interactive correction of tests. Something along the lines of the
+debugger, maybe actually using the debugger. I envision a work-flow
+scenario where you run all of the tests and see X of Y tests
+failed. Now you enter a form like
+
+ CL-USER> (lisp-unit:run-failed-tests :interactive t)
+
+where the default for interactive is nil. Actually, this approach
+could also satisfy the reporting requirements. Anyway, the first
+failed test is executed reporting the results and you are provided a
+prompt with some options. The options could be along the lines of
+abort the testing, pick a diagnostic function to execute or re-run the
+test. If the re-run the test option is chosen, it should be after
+modifications to the definition of the test or the routine being
+tested are made. The idea for this interactive correction feature is
+to tighten the debug loop. Input on this idea is highly welcome.
22 defpackage.lisp
View
@@ -1,5 +1,27 @@
;;;-*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
+#|
+Copyright (c) 2004-2005 Christopher K. Riesbeck
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+|#
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Packages
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
63 floating-point.lisp
View
@@ -1,40 +1,31 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
-;;;;
-;;;; Additional LISP-UNIT tests and assertions
-;;;;
-;;;; Copyright (c) 2009, Thomas M. Hermann
-;;;; All rights reserved.
-;;;;
-;;;; Redistribution and use in source and binary forms, with or without
-;;;; modification, are permitted provided that the following conditions are
-;;;; met:
-;;;;
-;;;; o Redistributions of source code must retain the above copyright
-;;;; notice, this list of conditions and the following disclaimer.
-;;;; o Redistributions in binary form must reproduce the above copyright
-;;;; notice, this list of conditions and the following disclaimer in
-;;;; the documentation and/or other materials provided with the
-;;;; distribution.
-;;;; o The names of the contributors may not be used to endorse or promote
-;;;; products derived from this software without specific prior written
-;;;; permission.
-;;;;
-;;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-;;;; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-;;;; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-;;;; PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
-;;;; OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-;;;; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-;;;; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-;;;; PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-;;;; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-;;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-;;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-;;;;
-;;;; References
-;;;; [NumLinAlg] James W. Demmel "Applied Numerical Linear Algebra",
-;;;; Society for Industrial and Applied Mathematics, 1997
-;;;; ISBN: 0-89871-389-7
+;;;
+;;; Floating tests and assertions for LISP-UNIT
+;;;
+;;; Copyright (c) 2009 Thomas M. Hermann
+;;;
+;;; Permission is hereby granted, free of charge, to any person obtaining
+;;; a copy of this software and associated documentation files (the "Software"),
+;;; to deal in the Software without restriction, including without limitation
+;;; the rights to use, copy, modify, merge, publish, distribute, sublicense,
+;;; and/or sell copies of the Software, and to permit persons to whom the
+;;; Software is furnished to do so, subject to the following conditions:
+;;;
+;;; The above copyright notice and this permission notice shall be included
+;;; in all copies or substantial portions of the Software.
+;;;
+;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+;;; OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+;;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+;;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+;;; OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+;;; ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+;;; OTHER DEALINGS IN THE SOFTWARE.
+;;;
+;;; References
+;;; [NumLinAlg] James W. Demmel "Applied Numerical Linear Algebra",
+;;; Society for Industrial and Applied Mathematics, 1997
+;;; ISBN: 0-89871-389-7
(common-lisp:in-package :lisp-unit)
24 lisp-unit.asd
View
@@ -1,7 +1,25 @@
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
-;;;;
-;;;; lisp-unit
-;;;;
+;;;
+;;; Copyright (c) 2009 Thomas M. Hermann
+;;;
+;;; Permission is hereby granted, free of charge, to any person obtaining
+;;; a copy of this software and associated documentation files (the "Software"),
+;;; to deal in the Software without restriction, including without limitation
+;;; the rights to use, copy, modify, merge, publish, distribute, sublicense,
+;;; and/or sell copies of the Software, and to permit persons to whom the
+;;; Software is furnished to do so, subject to the following conditions:
+;;;
+;;; The above copyright notice and this permission notice shall be included
+;;; in all copies or substantial portions of the Software.
+;;;
+;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+;;; OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+;;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+;;; THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+;;; OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+;;; ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+;;; OTHER DEALINGS IN THE SOFTWARE.
+;;;
(common-lisp:defpackage #:lisp-unit-system
(:use #:common-lisp #:asdf))
Please sign in to comment.
Something went wrong with that request. Please try again.