hsx/tests/group.lisp

15 lines
279 B
Common Lisp
Raw Normal View History

2024-06-01 11:14:17 +00:00
(defpackage #:hsx-test/group
(:use #:cl
#:rove
2024-06-01 11:14:17 +00:00
#:hsx/group))
(in-package #:hsx-test/group)
(defgroup fruit
apple banana orange)
(deftest group-test
(testing "defgroup"
(ok (hash-table-p *fruit*))
(ok (fruit-p :apple))
(ng (fruit-p :tomato))))