Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples (1 of 10 files). Show all
Unified · Split
| @@ -21,15 +21,11 @@ · 20 unmodified lines | |||
| 21 | // | 21 | // |
| 22 | //****************************************************************************************************** | 22 | //****************************************************************************************************** |
| 23 | 23 | ||
| 24 | #define BOOST_TEST_MAIN | ||
| 25 | |||
| 26 | #include <iostream> | 24 | #include <iostream> |
| 27 | #include <string> | 25 | #include <string> |
| 28 | #include <fstream> | 26 | #include <fstream> |
| 29 | #include <iterator> | 27 | #include <iterator> |
| 30 | #include <boost/filesystem.hpp> | 28 | #include <boost/filesystem.hpp> |
| 31 | #include <boost/test/unit_test.hpp> | ||
| 32 | |||
| 33 | #include "../FilterExpressions/FilterExpressionParser.h" | 29 | #include "../FilterExpressions/FilterExpressionParser.h" |
| 34 | #include "../Data/DataSet.h" | 30 | #include "../Data/DataSet.h" |
| 35 | 31 | ||
| @@ -1409,9 +1405,9 @@ int main(int argc, char* argv[]) · 1373 unmodified lines | |||
| 1409 | std::ifstream ifs2("Test2.xml"); | 1405 | std::ifstream ifs2("Test2.xml"); |
| 1410 | 1406 | ||
| 1411 | const istream_iterator<char> b1(ifs1), e1 {}; | 1407 | const istream_iterator<char> b1(ifs1), e1 {}; |
| 1412 | const istream_iterator<char> b2(ifs2), e2 {}; | 1408 | const istream_iterator<char> b2(ifs2); // , e2 {}; |
| 1413 | 1409 | ||
| 1414 | BOOST_CHECK_EQUAL_COLLECTIONS(b1, e1, b2, e2); | 1410 | assert(equal(b1, e1, b2)); |
| 1415 | cout << "Test " << ++test << " succeeded..." << endl; | 1411 | cout << "Test " << ++test << " succeeded..." << endl; |
| 1416 | 1412 | ||
| 1417 | // Test 148 | 1413 | // Test 148 |