2018-01-27 22:08:45 +00:00
|
|
|
(defpackage #:cl-info-test/core
|
2021-02-02 21:11:40 +00:00
|
|
|
(:use #:cl)
|
|
|
|
(:import-from #:cl-info)
|
|
|
|
(:import-from #:hamcrest/rove
|
|
|
|
#:contains
|
|
|
|
#:assert-that)
|
|
|
|
(:import-from #:rove
|
|
|
|
#:testing
|
|
|
|
#:deftest))
|
2018-01-27 22:08:45 +00:00
|
|
|
(in-package cl-info-test/core)
|
|
|
|
|
|
|
|
|
2021-02-02 20:57:14 +00:00
|
|
|
(defun foo (a b)
|
2021-02-02 22:29:22 +00:00
|
|
|
(list a b))
|
2021-02-02 20:57:14 +00:00
|
|
|
|
|
|
|
|
2018-01-27 22:08:45 +00:00
|
|
|
(deftest test-some-staff
|
2021-02-02 20:57:14 +00:00
|
|
|
(testing "Replace this test with real staff."
|
|
|
|
(assert-that (foo 1 2)
|
|
|
|
(contains 1 2))))
|