mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-17 03:03:26 +02:00
Problem: no tests for socket_t ctor accepting enum socket_type
Solution: added test case
This commit is contained in:
@@ -7,3 +7,10 @@ TEST(socket, create_destroy)
|
||||
zmq::socket_t socket(context, ZMQ_ROUTER);
|
||||
}
|
||||
|
||||
#ifdef ZMQ_CPP11
|
||||
TEST(socket, create_by_enum_destroy)
|
||||
{
|
||||
zmq::context_t context;
|
||||
zmq::socket_t socket(context, zmq::socket_type::router);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user