Test file for the class NumericalDerivative.
More...
#include <math.h>
#include <stdio.h>
#include <iostream>
#include <exception>
#include "GaudiKernel/GaudiException.h"
#include "GaudiKernel/SystemOfUnits.h"
#include "GaudiMath/GaudiMath.h"
#include "CLHEP/GenericFunctions/Sin.hh"
Go to the source code of this file.
Test file for the class NumericalDerivative.
- Date
- 2003-08-31
- Author
- Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
Definition in file ExceptionsTest.cpp.
Definition at line 39 of file ExceptionsTest.cpp.
43 " Test for embedded exceptions ( 2 exception shoudl be catched) "
50 std::cout <<
"One should never see this line!! " << std::endl ;
53 catch(
const std::exception& e )
55 std::cout <<
" OK 1) The exception is catched with 'what'='"
56 << e.what() <<
"'" << std::endl;
63 std::cout <<
"One should never see this line!! " << std::endl ;
68 std::cout <<
" OK 2) " << e << std::endl ;
Define general base for Gaudi exception.
Genfun::AbsFunction Function
Genfun::GaudiMathImplementation::NumericalDerivative Derivative