Moving custom testing predicates to shared header
This commit is contained in:
@@ -17,25 +17,16 @@
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#define BOOST_TEST_MODULE "project"
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
#include "test_fixtures.hpp"
|
||||
#define BOOST_TEST_MODULE "project"
|
||||
|
||||
#include "test_shared.hpp"
|
||||
|
||||
|
||||
using namespace std;
|
||||
using namespace boost;
|
||||
|
||||
|
||||
boost::test_tools::predicate_result check_string(std::string test, std::string ref)
|
||||
{
|
||||
if (ref.compare(test) == 0)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_SUITE (test_proj)
|
||||
|
||||
BOOST_AUTO_TEST_CASE (test_proj_create_delete)
|
||||
|
||||
Reference in New Issue
Block a user