DGtal 1.4.0
|
#include <iostream>
#include "ConfigExamples.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/base/Common.h"
#include <vector>
#include <list>
#include <set>
#include "DGtalCatch.h"
Go to the source code of this file.
Functions | |
TEST_CASE ("Point Vector Unit tests") | |
[exampleCatch-example1] | |
TEMPLATE_TEST_CASE ("STL Container test", "Description", std::list< int >, std::vector< int >, std::set< int >) | |
[exampleCatch-example1] | |
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/.
An example file named exampleCatch.
This file is part of the DGtal library.
Definition in file exampleCatch.cpp.
TEMPLATE_TEST_CASE | ( | "STL Container test" | , |
"Description" | , | ||
std::list< int > | , | ||
std::vector< int > | , | ||
std::set< int > | ) |
[exampleCatch-example1]
[exampleCatch-example2]
Definition at line 104 of file exampleCatch.cpp.
TEST_CASE | ( | "Point Vector Unit tests" | ) |
[exampleCatch-example1]
Definition at line 58 of file exampleCatch.cpp.
References DGtal::PointVector< dim, TEuclideanRing, TContainer >::max(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::maxElement(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::min(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::minElement(), REQUIRE(), and SECTION().