cppzmq/tests/context.cpp
2018-05-11 20:29:15 +01:00

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);
}