#include "test_cluster_global.hpp"
#include "test_cluster_local.hpp"

using namespace std;
using namespace htool;

int main(int argc, char *argv[]) {

    MPI_Init(&argc, &argv);

    bool test = test_cluster_global<Cluster<PCA<SplittingTypes::GeometricSplitting>>, 2>(argc, argv);

    test = test || test_cluster_global<Cluster<PCA<SplittingTypes::GeometricSplitting>>, 3>(argc, argv);

    test = test || test_cluster_local<Cluster<PCA<SplittingTypes::GeometricSplitting>>, 2>(argc, argv);

    test = test || test_cluster_local<Cluster<PCA<SplittingTypes::GeometricSplitting>>, 3>(argc, argv);

    MPI_Finalize();
    return test;
}