;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; This file is part of "NOVA": NOVA = search + COCOMO tools ; Copyright, 2008, Tim Menzies tim@menzies.us ; ; NOVA is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; ; NOVA is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; You should have received a copy of the GNU General Public License ; a long with NOVA. If not, see . ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package :wvu-lib-test.lift) (deftestsuite lift-lift-test-suite (wvu-lib-tests) ()) (addtest check-ensure-alist-has-key-with-key (let ((key 'a) (list '( (a . 1) (c . 3)))) (ensure-alist-has-key key list))) (addtest check-ensure-alist-has-no-key-with-no-key (let ((bad-key 'e) (list '( (a . 1) (c . 3)))) (ensure-alist-has-no-key bad-key list))) ;;FIXME needs to be a way to do test for failure