summaryrefslogtreecommitdiff
path: root/Lisp/tests.lisp
blob: 5a069638611424ee1816a5bbed7f99c27e0b7d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(defpackage #:mulk.objective-cl.tests
  (:use #:lift #:mulk.objective-cl #:cl))
(in-package #:mulk.objective-cl.tests)


(defun run-all-tests ()
  (run-tests :suite 'objective-cl))


(deftestsuite objective-cl ()
  ())


(deftestsuite method-invocation (objective-cl)
  ()
  (:equality-test #'equal)
  (:tests
   ((ensure (functionp (fn #'+ _ 10))))
   ((ensure-same (mapcar (fn (cons _ _)) '(1 2 3))
                 '((1 . 1) (2 . 2) (3 . 3))))))