unit-tests/testFacetRecovery.cpp
/*! \fn bool TestRecoverConstraintFacets::runTest()
 *  \brief Runs the test to check if all constraint facets are recovered.
 *  \return True if all constraint facets are recovered in output mesh.
 */
\fn bool TestRecoverConstraintFacets::runTest()
\brief Runs the test to check if all constraint facets are recovered.
\return True if all constraint facets are recovered in output mesh.
\ fn bool TestRecoverConstraintFacets :: runTest () \ brief Runs the test to check if all constraint facets are recovered . \ return True if all constraint facets are recovered in output mesh .
bool TestRecoverConstraintFacets::runTest()
{
	readPLCInput();
	computeDelaunayTetrahedralization(-1);
	recoverConstraintSegments();
	removeLocalDegeneracies();
	size_t nConstraintFacetsAlreadyPresent = 0, nConstraintFacetsRecovered = 0;
	nConstraintFacetsAlreadyPresent = numberOfAlreadyPresentConstraintFacets();	
	recoverConstraintFacets();
	nConstraintFacetsRecovered = numberOfRecoveredConstraintFacets();
	cout << "Number of constraint facets already present: " << nConstraintFacetsAlreadyPresent << endl;
	cout << "Number of constraint facets recovered: " << nConstraintFacetsRecovered << endl;
	return (nConstraintFacetsAlreadyPresent == nConstraintFacetsRecovered) ? true : false;
}
bool TestRecoverConstraintFacets :: runTest ( ) { readPLCInput ( ) ; computeDelaunayTetrahedralization ( -1 ) ; recoverConstraintSegments ( ) ; removeLocalDegeneracies ( ) ; size_t nConstraintFacetsAlreadyPresent = 0 , nConstraintFacetsRecovered = 0 ; nConstraintFacetsAlreadyPresent = numberOfAlreadyPresentConstraintFacets ( ) ; recoverConstraintFacets ( ) ; nConstraintFacetsRecovered = numberOfRecoveredConstraintFacets ( ) ; cout << " " << nConstraintFacetsAlreadyPresent << endl ; cout << " " << nConstraintFacetsRecovered << endl ; return ( nConstraintFacetsAlreadyPresent == nConstraintFacetsRecovered ) ? true : false ; }
\fn bool TestRecoverConstraintFacets::runTest()
  \brief Runs the test to check if all constraint facets are recovered.
\ fn bool TestRecoverConstraintFacets :: runTest () \ brief Runs the test to check if all constraint facets are recovered .
// already present  // recovered // count number of constraint facets recovered in output mesh(LCC) after recovery execution of recovery algorithm.