close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

source: branches/f4grobner/utils-tests.lisp@ 289

Last change on this file since 289 was 289, checked in by Marek Rychlik, 10 years ago

* empty log message *

File size: 529 bytes
RevLine 
[286]1(load "~/quicklisp/setup")
2(ql:quickload :fiveam)
3
[287]4(defpackage :it.bese.fiveam.utils-tests
5 (:use :common-lisp
6 :it.bese.fiveam))
[286]7
[288]8(in-package :it.bese.fiveam.utils-tests)
[287]9
10(def-suite utils-suite
[282]11 :description "Utils Suite")
[281]12
[287]13(in-suite utils-suite)
14
[289]15(test dummy-test
[281]16 "Makelist"
17 (is (= (+ 2 2)) "2 plus 2 wasn't equal to 4 (using #'= to test equality)")
18 (is (= 0 (+ -1 1)))
19 (signals
20 (error "Trying to add 4 to FOO didn't signal an error")
21 (+ 'foo 4))
22 (is (= 0 (+ 1 1)) "this should have failed"))
[289]23
24(run!)
Note: See TracBrowser for help on using the repository browser.