ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/test/utils/NextCombinationTestCase.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/test/utils/NextCombinationTestCase.cpp (file contents):
Revision 1667 by tim, Thu Oct 28 15:15:44 2004 UTC vs.
Revision 1668 by tim, Thu Oct 28 15:42:17 2004 UTC

# Line 1 | Line 1
1   #include "utils/NextCombinationTestCase.hpp"
2   #include <iostream>
3   #include <algorithm>
4 < #include "utils/next_combination.hpp"
4 >
5   // Registers the fixture into the 'registry'
6   CPPUNIT_TEST_SUITE_REGISTRATION( NextCombinationTestCase);
7
7   void NextCombinationTestCase::testNextCombination() {
8      std::vector<double> dv;
9      std::vector<std::vector<double>::iterator> ic;
10  
11 <    while (next_combination(ic, dv.begin(), dv.end()) {
11 >    while (next_combination(ic, dv.begin(), dv.end())) {
12  
13          
14      }
15 < }
15 > }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines