Skip to content

Commit

Permalink
test the zmq version
Browse files Browse the repository at this point in the history
  • Loading branch information
galdor committed Oct 6, 2011
1 parent 956c423 commit 1dfce86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/main.lisp
Expand Up @@ -8,6 +8,9 @@
:element-type '(unsigned-byte 8)
:initial-contents contents))

(test version
(is (= (car (zmq:version)) 2)))

(test empty-messages
(zmq:with-msg-init (msg)
(is (zerop (zmq:msg-size msg)))
Expand Down

0 comments on commit 1dfce86

Please sign in to comment.