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.
| Rev | Line | |
|---|
| [282] | 1 | (def-suite utils-suite
|
|---|
| 2 | :description "Utils Suite")
|
|---|
| [281] | 3 | (in-suite my-suite)
|
|---|
| 4 |
|
|---|
| 5 | (test utils-tests
|
|---|
| 6 | "Makelist"
|
|---|
| 7 | (is (= (+ 2 2)) "2 plus 2 wasn't equal to 4 (using #'= to test equality)")
|
|---|
| 8 | (is (= 0 (+ -1 1)))
|
|---|
| 9 | (signals
|
|---|
| 10 | (error "Trying to add 4 to FOO didn't signal an error")
|
|---|
| 11 | (+ 'foo 4))
|
|---|
| 12 | (is (= 0 (+ 1 1)) "this should have failed"))
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.
Download in other formats: