]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/numeric/odeint/test_external/eigen/fail_integrate.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / numeric / odeint / test_external / eigen / fail_integrate.cpp
1 /*
2 [auto_generated]
3 fail_integrate.cpp
4
5 [begin_description]
6 tba.
7 [end_description]
8
9 Copyright 2009-2012 Karsten Ahnert
10 Copyright 2009-2012 Mario Mulansky
11
12 Distributed under the Boost Software License, Version 1.0.
13 (See accompanying file LICENSE_1_0.txt or
14 copy at http://www.boost.org/LICENSE_1_0.txt)
15 */
16
17 #include <boost/config.hpp>
18 #ifdef BOOST_MSVC
19 #pragma warning(disable:4996)
20 #endif
21
22 #define BOOST_TEST_MODULE odeint_dummy
23
24 #include <boost/numeric/odeint/integrate/integrate.hpp>
25 #include <boost/numeric/odeint/external/eigen/eigen.hpp>
26
27 #include <boost/test/unit_test.hpp>
28
29 #include "dummy_odes.hpp"
30
31 using namespace boost::unit_test;
32 using namespace boost::numeric::odeint;
33
34
35 BOOST_AUTO_TEST_SUITE( eigen_fail_integrate )
36
37 BOOST_AUTO_TEST_CASE( test )
38 {
39 typedef Eigen::Matrix< double , 1 , 1 > state_type;
40 state_type x;
41 x[0] = 10.0;
42 double t_start = 0.0 , t_end = 1.0 , dt = 0.1;
43 integrate( constant_system_functor_standard() , x , t_start , t_end , dt );
44 }
45
46 BOOST_AUTO_TEST_SUITE_END()
47