mirror of https://github.com/CGAL/cgal
53 lines
1.4 KiB
C++
53 lines
1.4 KiB
C++
// ============================================================================
|
|
//
|
|
// Copyright (c) 1997-2002 The CGAL Consortium
|
|
//
|
|
// This software and related documentation is part of an INTERNAL release
|
|
// of the Computational Geometry Algorithms Library (CGAL). It is not
|
|
// intended for general use.
|
|
//
|
|
// ----------------------------------------------------------------------------
|
|
//
|
|
// release : $CGAL_Revision: $
|
|
// release_date : $CGAL_Date: $
|
|
//
|
|
// file : test/Nef_3/nef_3.h
|
|
// package : Nef_3
|
|
// chapter : 3D-Nef Polyhedra
|
|
//
|
|
// revision : $Id$
|
|
// revision_date : $Date$
|
|
//
|
|
// author(s) : Peter Hachenberger <hachenberger@mpi-sb.mpg.de>
|
|
// maintainer : Peter Hachenberger <hachenberger@mpi-sb.mpg.de>
|
|
// coordinator : MPI Saarbruecken
|
|
//
|
|
// ============================================================================
|
|
|
|
#define CGAL_NEF3_SORT_OUTPUT 1
|
|
|
|
#include <CGAL/Exact_rational.h>
|
|
#include <CGAL/Simple_cartesian.h>
|
|
#include <CGAL/Lazy_kernel.h>
|
|
#include <CGAL/Timer.h>
|
|
#include <CGAL/test_Nef_3.h>
|
|
|
|
int main() {
|
|
typedef CGAL::Exact_rational NT;
|
|
typedef CGAL::Lazy_kernel<CGAL::Simple_cartesian<NT> > LC_kernel;
|
|
|
|
#ifdef CGAL_CFG_ISTREAM_INT_BUG
|
|
std::locale::global(std::locale("C"));
|
|
#endif
|
|
|
|
CGAL::test_Nef_3<LC_kernel> test_LC;
|
|
|
|
CGAL::Timer t;
|
|
t.start();
|
|
test_LC.run_test();
|
|
t.stop();
|
|
std::cout << "Lazy kernel successful in: " << t.time()
|
|
<< " seconds " << std::endl;
|
|
}
|
|
|