DGtal
1.5.beta
|
#include <iostream>
#include <vector>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/geometry/volumes/EhrhartPolynomial.h"
#include "DGtal/geometry/volumes/DigitalConvexity.h"
#include "DGtalCatch.h"
Go to the source code of this file.
Functions | |
SCENARIO ("EhrhartPolynomial< Z2 > unit tests", "[ehrhart_polynomial][2d]") | |
SCENARIO ("EhrhartPolynomial< Z3 > unit tests", "[ehrhart_polynomial][3d]") | |
SCENARIO ("EhrhartPolynomial< Z4 > unit tests", "[ehrhart_polynomial][4d]") | |
SCENARIO ("EhrhartPolynomial< Z2 > triangle tests", "[ehrhart_polynomial][2d]") | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class EhrhartPolynomial.
This file is part of the DGtal library.
Definition in file testEhrhartPolynomial.cpp.
SCENARIO | ( | "EhrhartPolynomial< Z2 > triangle tests" | , |
"" | [ehrhart_polynomial][2d] | ||
) |
Definition at line 192 of file testEhrhartPolynomial.cpp.
References CAPTURE(), domain, DGtal::Trace::info(), DGtal::DigitalConvexity< TKSpace >::isFullyConvex(), DGtal::DigitalConvexity< TKSpace >::isSimplexFullDimensional(), DGtal::DigitalConvexity< TKSpace >::makeSimplex(), REQUIRE(), and DGtal::trace.
SCENARIO | ( | "EhrhartPolynomial< Z2 > unit tests" | , |
"" | [ehrhart_polynomial][2d] | ||
) |
Definition at line 48 of file testEhrhartPolynomial.cpp.
References GIVEN(), DGtal::DigitalConvexity< TKSpace >::makeSimplex(), and REQUIRE().
SCENARIO | ( | "EhrhartPolynomial< Z3 > unit tests" | , |
"" | [ehrhart_polynomial][3d] | ||
) |
Definition at line 97 of file testEhrhartPolynomial.cpp.
References CAPTURE(), GIVEN(), DGtal::DigitalConvexity< TKSpace >::makePolytope(), and REQUIRE().
SCENARIO | ( | "EhrhartPolynomial< Z4 > unit tests" | , |
"" | [ehrhart_polynomial][4d] | ||
) |
Definition at line 145 of file testEhrhartPolynomial.cpp.
References CAPTURE(), GIVEN(), DGtal::DigitalConvexity< TKSpace >::makePolytope(), and REQUIRE().