|
Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
800 bytes
|
| Line | |
|---|
| 1 | /////////////////////////////////////////////////////////////////////////////// |
|---|
| 2 | // test10.cpp |
|---|
| 3 | // |
|---|
| 4 | // Copyright 2004 Eric Niebler. Distributed under the Boost |
|---|
| 5 | // Software License, Version 1.0. (See accompanying file |
|---|
| 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 7 | |
|---|
| 8 | #include <algorithm> |
|---|
| 9 | #include "./test10.hpp" |
|---|
| 10 | |
|---|
| 11 | /////////////////////////////////////////////////////////////////////////////// |
|---|
| 12 | // test_main |
|---|
| 13 | // read the tests from the input file and execute them |
|---|
| 14 | int test_main( int, char*[] ) |
|---|
| 15 | { |
|---|
| 16 | #ifndef BOOST_XPRESSIVE_NO_WREGEX |
|---|
| 17 | typedef std::wstring::const_iterator iterator_type; |
|---|
| 18 | boost::iterator_range<test_case<iterator_type> const *> rng = get_test_cases<iterator_type>(); |
|---|
| 19 | std::for_each(rng.begin(), rng.end(), test_runner<iterator_type>()); |
|---|
| 20 | #endif |
|---|
| 21 | |
|---|
| 22 | return 0; |
|---|
| 23 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.