mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-06 00:31:14 +01:00
16 lines
241 B
C++
16 lines
241 B
C++
#include <gtest/gtest.h>
|
|
#include <zmq.hpp>
|
|
|
|
TEST (context, create_default_destroy)
|
|
{
|
|
zmq::context_t context;
|
|
}
|
|
|
|
TEST (context, create_close)
|
|
{
|
|
zmq::context_t context;
|
|
context.close ();
|
|
|
|
ASSERT_EQ (NULL, (void *) context);
|
|
}
|