mirror of https://github.com/CGAL/cgal
27 lines
742 B
C++
27 lines
742 B
C++
#include "include/utils.h"
|
|
#include "include/wrappers.h"
|
|
|
|
#include <CGAL/Simple_cartesian.h>
|
|
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
|
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
|
|
|
|
using SCKER = CGAL::Simple_cartesian<double>;
|
|
using EPICK = CGAL::Exact_predicates_inexact_constructions_kernel;
|
|
using EPECK = CGAL::Exact_predicates_exact_constructions_kernel;
|
|
|
|
template<typename Kernel>
|
|
void test_kernel()
|
|
{
|
|
const wrappers::Triangular_region_wrapper<Kernel> tri;
|
|
tests::test_region_weight<Kernel>(tri);
|
|
}
|
|
|
|
int main(int, char**)
|
|
{
|
|
test_kernel<SCKER>();
|
|
test_kernel<EPICK>();
|
|
test_kernel<EPECK>();
|
|
std::cout << "* test_triangular_region_weights: SUCCESS" << std::endl;
|
|
return EXIT_SUCCESS;
|
|
}
|