DGtal 1.3.0
|
#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include "DGtal/base/Config.h"
#include "DGtal/base/Common.h"
Go to the source code of this file.
Functions | |
void | testSimple () |
void | testIndent () |
void | testFileStream () |
void | testTimings () |
int | main () |
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/.
This file is part of the DGtal library
Definition in file testTrace.cpp.
int main | ( | void | ) |
Definition at line 166 of file testTrace.cpp.
References testFileStream(), testIndent(), testSimple(), and testTimings().
void testFileStream | ( | ) |
We test the Trace class on file stream.
a file "example.txt" must have been created with the traces.
Definition at line 88 of file testTrace.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
void testIndent | ( | ) |
Definition at line 56 of file testTrace.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
void testSimple | ( | ) |
Definition at line 47 of file testTrace.cpp.
References DGtal::Trace::emphase(), DGtal::Trace::error(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
void testTimings | ( | ) |
Definition at line 115 of file testTrace.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.
Referenced by main().