Problem: test file not correctly named

Solution: move and split example_add.cpp
This commit is contained in:
Simon Giesecke
2018-04-03 12:02:08 +02:00
parent 80dc604ed0
commit 1616c0fad2
3 changed files with 11 additions and 7 deletions

15
tests/context.cpp Normal file
View File

@@ -0,0 +1,15 @@
#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);
}