main.cpp 1.51 KB
Newer Older
incardon's avatar
incardon committed
1
#include <iostream>
incardon's avatar
incardon committed
2

incardon's avatar
incardon committed
3 4
size_t debug_tot_call = 0;

incardon's avatar
incardon committed
5 6 7 8 9 10
#define PRINT_STACKTRACE
#define CHECKFOR_POSNAN
#define CHECKFOR_POSINF
#define CHECKFOR_PROPNAN
#define CHECKFOR_PROPINF

incardon's avatar
incardon committed
11
#define NO_WARNING
incardon's avatar
incardon committed
12 13 14 15 16
#include "Graph/CartesianGraphFactory.hpp"

#define BOOST_DISABLE_ASSERTS


Pietro Incardona's avatar
Pietro Incardona committed
17
#include "config.h"
18 19
#undef VERSION

Pietro Incardona's avatar
Pietro Incardona committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>

// initialization function:
bool init_unit_test()
{
  return true;
}

// entry point:
int main(int argc, char* argv[])
{
  return boost::unit_test::unit_test_main( &init_unit_test, argc, argv );
}
incardon's avatar
incardon committed
34

incardon's avatar
incardon committed
35
#include "debug.hpp"
incardon's avatar
incardon committed
36
#include "Grid/grid_dist_id.hpp"
incardon's avatar
incardon committed
37 38
#include "Point_test.hpp"
#include "Decomposition/CartDecomposition.hpp"
tonynsyde's avatar
tonynsyde committed
39
#include "Graph/dist_map_graph.hpp"
incardon's avatar
incardon committed
40 41 42
#include "memory/HeapMemory.hpp"
#include "Space/Shape/Box.hpp"

incardon's avatar
incardon committed
43
#include "unit_test_init_cleanup.hpp"
44
#include "Graph/CartesianGraphFactory_unit_test.hpp"
incardon's avatar
Add ORB  
incardon committed
45
#include "Decomposition/ORB_unit_test.hpp"
46
#include "Decomposition/Distribution/metis_util_unit_test.hpp"
incardon's avatar
incardon committed
47
#include "Decomposition/dec_optimizer_unit_test.hpp"
48
#include "Decomposition/Distribution/Distribution_unit_tests.hpp"
incardon's avatar
incardon committed
49
#include "Grid/Iterators/grid_dist_id_iterators_unit_tests.hpp"
50
//#include "DLB/DLB_unit_test.hpp"
51
#include "Graph/dist_map_graph_unit_test.hpp"
tonynsyde's avatar
tonynsyde committed
52
#include "Graph/DistGraphFactory.hpp"
53
#include "Decomposition/nn_processor_unit_test.hpp"
incardon's avatar
incardon committed
54
#include "Vector/se_class3_vector_unit_tests.hpp"
incardon's avatar
incardon committed
55
#include "Vector/vector_dist_dlb_test.hpp"
56
#include "Decomposition/Domain_NN_calculator_cart_unit_test.hpp"
57
//#include "antoniol_test_isolation.hpp"