cppzmq/tests/context.cpp
Simon Giesecke 1616c0fad2 Problem: test file not correctly named
Solution: move and split example_add.cpp
2018-04-03 18:41:44 +02:00

16 lines
239 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);
}