mirror of https://github.com/CGAL/cgal
34 lines
763 B
C++
34 lines
763 B
C++
|
|
#include <iostream>
|
|
#include <fstream>
|
|
#include <cassert>
|
|
|
|
|
|
// choose number type
|
|
#include <CGAL/MP_Float.h>
|
|
|
|
typedef double inexact_type;
|
|
typedef CGAL::MP_Float exact_type;
|
|
|
|
#include <CGAL/Simple_cartesian.h>
|
|
|
|
typedef CGAL::Integral_domain_without_division_tag Method_tag;
|
|
|
|
#include "./include/test.h"
|
|
|
|
typedef CGAL::Simple_cartesian<inexact_type> CK;
|
|
typedef CGAL::Simple_cartesian<exact_type> EK;
|
|
|
|
int main()
|
|
{
|
|
std::ifstream ifs_algo("data/algo.dat");
|
|
assert( ifs_algo );
|
|
|
|
std::cout << "testing the Apollonius graph class" << " with filtered traits..." << std::flush;
|
|
bool algo_ok = CGAL::test_filtered_traits_algo<CK,Method_tag,EK,Method_tag,std::ifstream>(ifs_algo);
|
|
assert( algo_ok );
|
|
std::cout << " done!" << std::endl;
|
|
|
|
return 0;
|
|
}
|