mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 10:52:57 +01:00
1616c0fad2
Solution: move and split example_add.cpp
16 lines
239 B
C++
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);
|
|
}
|