cppzmq/tests/context.cpp

16 lines
237 B
C++
Raw Normal View History

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