Sacado Package Browser (Single Doxygen Collection)
Version of the Day
test
TestSuite
FadUnitTests.cpp
Go to the documentation of this file.
1
// $Id$
2
// $Source$
3
// @HEADER
4
// ***********************************************************************
5
//
6
// Sacado Package
7
// Copyright (2006) Sandia Corporation
8
//
9
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
10
// the U.S. Government retains certain rights in this software.
11
//
12
// This library is free software; you can redistribute it and/or modify
13
// it under the terms of the GNU Lesser General Public License as
14
// published by the Free Software Foundation; either version 2.1 of the
15
// License, or (at your option) any later version.
16
//
17
// This library is distributed in the hope that it will be useful, but
18
// WITHOUT ANY WARRANTY; without even the implied warranty of
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
// Lesser General Public License for more details.
21
//
22
// You should have received a copy of the GNU Lesser General Public
23
// License along with this library; if not, write to the Free Software
24
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
25
// USA
26
// Questions? Contact David M. Gay (dmgay@sandia.gov) or Eric T. Phipps
27
// (etphipp@sandia.gov).
28
//
29
// ***********************************************************************
30
// @HEADER
31
32
#include "
FadUnitTests.hpp
"
33
34
#include "
Sacado_Fad_SimpleFad.hpp
"
35
36
void
FAD::error(
const
char
*msg) {
37
std::cout << msg << std::endl;
38
}
39
40
typedef
FadOpsUnitTest<Sacado::Fad::DFad<double>
,
double
>
DFadDoubleTest
;
41
typedef
FadOpsUnitTest<Sacado::Fad::SFad<double,5>
,
double
>
SFadDoubleTest
;
42
typedef
FadOpsUnitTest<Sacado::Fad::SLFad<double,10>
,
double
>
SLFadDoubleTest
;
43
typedef
FadOpsUnitTest<Sacado::Fad::SimpleFad<double>
,
double
>
SimpleFadDoubleTest
;
44
typedef
FadOpsUnitTest<Sacado::Fad::DVFad<double>
,
double
>
DVFadDoubleTest
;
45
46
CPPUNIT_TEST_SUITE_REGISTRATION
(
DFadDoubleTest
);
47
CPPUNIT_TEST_SUITE_REGISTRATION
(
SFadDoubleTest
);
48
CPPUNIT_TEST_SUITE_REGISTRATION
(
SLFadDoubleTest
);
49
CPPUNIT_TEST_SUITE_REGISTRATION
(
SimpleFadDoubleTest
);
50
CPPUNIT_TEST_SUITE_REGISTRATION
(
DVFadDoubleTest
);
FadUnitTests.hpp
Sacado_Fad_SimpleFad.hpp
DFadDoubleTest
FadOpsUnitTest< Sacado::Fad::DFad< double >, double > DFadDoubleTest
Definition:
FadUnitTests.cpp:40
SimpleFadDoubleTest
FadOpsUnitTest< Sacado::Fad::SimpleFad< double >, double > SimpleFadDoubleTest
Definition:
FadUnitTests.cpp:43
CPPUNIT_TEST_SUITE_REGISTRATION
CPPUNIT_TEST_SUITE_REGISTRATION(DFadDoubleTest)
SLFadDoubleTest
FadOpsUnitTest< Sacado::Fad::SLFad< double, 10 >, double > SLFadDoubleTest
Definition:
FadUnitTests.cpp:42
FadOpsUnitTest
Definition:
FadUnitTests.hpp:134
DVFadDoubleTest
FadOpsUnitTest< Sacado::Fad::DVFad< double >, double > DVFadDoubleTest
Definition:
FadUnitTests.cpp:44
SFadDoubleTest
FadOpsUnitTest< Sacado::Fad::SFad< double, 5 >, double > SFadDoubleTest
Definition:
FadUnitTests.cpp:41
Generated by
1.8.16