Functions

testHashTree.cpp File Reference

#include <iostream>
#include "DGtal/base/Common.h"
#include "Board/Board.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/io/colormaps/GrayScaleColorMap.h"
#include "DGtal/io/colormaps/GradientColorMap.h"
#include "DGtal/io/colormaps/ColorBrightnessColorMap.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/kernel/images/ImageContainerByHashTree.h"
#include "DGtal/kernel/images/ImageContainerBySTLVector.h"
Include dependency graph for testHashTree.cpp:

Functions

bool testHashTree ()
bool testGetSetVal ()
bool testBadKeySizes ()
int main (int argc, char **argv)

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

Author:
David Coeurjolly (david.coeurjolly@liris.cnrs.fr ) Laboratoire d'InfoRmatique en Image et Systèmes d'information - LIRIS (CNRS, UMR 5205), CNRS, France
Date:
2010/09/02

Functions for testing class HashTree.

This file is part of the DGtal library.


Function Documentation

int main ( int  argc,
char **  argv 
)
bool testBadKeySizes (  ) 

This should raise an ASSERT abort if uncommented

References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::info(), LibBoard::Board::setUnit(), and DGtal::trace.

Referenced by main().

bool testGetSetVal (  ) 

Example of a test. To be completed.

Domain characterized by points

Domain characterized by points

References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::Trace::info(), LibBoard::Board::setUnit(), DGtal::trace, and DGtal::Trace::warning().

Referenced by main().

bool testHashTree (  ) 

Example of a test. To be completed.

Domain characterized by points a and b

References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.

Referenced by main().