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@ 286

Last change on this file since 286 was 286, checked in by Marek Rychlik, 9 years ago

* empty log message *

File size: 422 bytes
Line 
1(load "~/quicklisp/setup")
2(ql:quickload :fiveam)
3
4(in-package :cl-user)
5
6(5am:def-suite utils-suite
7 :description "Utils Suite")
8(in-suite my-suite)
9
10(test utils-tests
11 "Makelist"
12 (is (= (+ 2 2)) "2 plus 2 wasn't equal to 4 (using #'= to test equality)")
13 (is (= 0 (+ -1 1)))
14 (signals
15 (error "Trying to add 4 to FOO didn't signal an error")
16 (+ 'foo 4))
17 (is (= 0 (+ 1 1)) "this should have failed"))
Note: See TracBrowser for help on using the repository browser.