| 
                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:
            757 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /////////////////////////////////////////////////////////////////////////////// | 
|---|
| 2 | // test5.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 "./test5.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 |     typedef std::string::const_iterator iterator_type; | 
|---|
| 17 |     boost::iterator_range<test_case<iterator_type> const *> rng = get_test_cases<iterator_type>(); | 
|---|
| 18 |     std::for_each(rng.begin(), rng.end(), test_runner<iterator_type>()); | 
|---|
| 19 |  | 
|---|
| 20 |     return 0; | 
|---|
| 21 | } | 
|---|
| 22 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.