Moving custom testing predicates to shared header

This commit is contained in:
Michael Tryby
2019-03-01 14:14:09 -05:00
parent b3a9701863
commit fca0df7a7b
6 changed files with 150 additions and 117 deletions

View File

@@ -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)