PPI: Checkin of first compiling (yet not working) version
[senf.git] / Utils / MicroTime.test.cc
1 // $Id$
2 //
3 // Copyright (C) 2006 Stefan Bund <g0dil@senf.berlios.de>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the
17 // Free Software Foundation, Inc.,
18 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
20 // Unit tests
21
22 //#include "MicroTime.test.hh"
23 //#include "MicroTime.test.ih"
24
25 // Custom includes
26 #include "MicroTime.hh"
27
28 #include <boost/test/auto_unit_test.hpp>
29 #include <boost/test/test_tools.hpp>
30
31 #define prefix_
32 ///////////////////////////////cc.p////////////////////////////////////////
33
34 BOOST_AUTO_UNIT_TEST(microTime)
35 {
36     BOOST_CHECK_NO_THROW( senf::now() );
37 }
38
39 ///////////////////////////////cc.e////////////////////////////////////////
40 #undef prefix_
41
42 \f
43 // Local Variables:
44 // mode: c++
45 // fill-column: 100
46 // c-file-style: "senf"
47 // indent-tabs-mode: nil
48 // ispell-local-dictionary: "american"
49 // compile-command: "scons -u test"
50 // comment-column: 40
51 // End: