~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/sacado/test/TestSuite/FadUnitTests.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
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 << 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);