DGtal  1.3.beta
testDigitalSetToCellularGridConverter.cpp File Reference
#include <iostream>
#include <map>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/CubicalComplex.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/shapes/EuclideanShapesDecorator.h"
#include "DGtal/shapes/parametric/Flower2D.h"
Include dependency graph for testDigitalSetToCellularGridConverter.cpp:

Go to the source code of this file.

## Functions

int main (int, char **)

## Detailed Description

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/.

Date
2015/11/03

Functions for testing class digitalSetToCubicalComplexes.

This file is part of the DGtal library.

Definition in file testDigitalSetToCellularGridConverter.cpp.

## ◆ main()

 int main ( int , char ** )

Definition at line 82 of file testDigitalSetToCellularGridConverter.cpp.

83 {
84  bool res = true;
85  testDigitalSetToCellularGridConverter test;
86  trace.beginBlock ( "DigitalSetToCellularGridConverter" );
87  trace.beginBlock ( "Testing extraction of 0D cells" );
88  res &= test.extractCells();
89  trace.endBlock();
90  trace.emphase() << ( res ? "Passed." : "Error." ) << endl;
91  trace.endBlock();
92  return res ? 0 : 1;
93 }
DGtal::Trace::endBlock
double endBlock()
DGtal::Trace::emphase
std::ostream & emphase()
DGtal::trace
Trace trace
Definition: Common.h:154
DGtal::Trace::beginBlock
void beginBlock(const std::string &keyword="")
test
bool test(const I &itb, const I &ite)
Definition: testMostCenteredMSEstimator.cpp:71