Changeset 1008 for library/tests
- Timestamp:
- 05/27/10 23:07:04 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/testsuite/rv_test.cpp
r722 r1008 39 39 std::stringstream abss; 40 40 abss << ab; 41 CHECK_EQUAL ( std::string ( " 1(3)=a_in_test_rv_{0}; 2(2)=b_in_test_rv_{0};" ), abss.str() );41 CHECK_EQUAL ( std::string ( "[a_in_test_rv(3)_{0}; b_in_test_rv(2)_{0}; ]" ), abss.str() ); 42 42 43 43 // concat a, b and c … … 46 46 std::stringstream abcss; 47 47 abcss << abc; 48 CHECK_EQUAL ( std::string ( " 1(3)=a_in_test_rv_{0}; 2(2)=b_in_test_rv_{0}; 3(1)=c_in_test_rv_{0};" ), abcss.str() );48 CHECK_EQUAL ( std::string ( "[a_in_test_rv(3)_{0}; b_in_test_rv(2)_{0}; c_in_test_rv(1)_{0}; ]" ), abcss.str() ); 49 49 50 50 // structure of a, b, c … … 83 83 std::stringstream acss; 84 84 acss << ac; 85 CHECK_EQUAL ( std::string ( " 1(3)=a_in_test_rv_{0}; 3(1)=c_in_test_rv_{0};" ), acss.str() );85 CHECK_EQUAL ( std::string ( "[a_in_test_rv(3)_{0}; c_in_test_rv(1)_{0}; ]" ), acss.str() ); 86 86 87 87 // data index of ac in abc … … 98 98 std::stringstream bcss; 99 99 bcss << bc; 100 CHECK_EQUAL ( std::string ( " 2(2)=b_in_test_rv_{0}; 3(1)=c_in_test_rv_{0};" ), bcss.str() );100 CHECK_EQUAL ( std::string ( "[b_in_test_rv(2)_{0}; c_in_test_rv(1)_{0}; ]" ), bcss.str() ); 101 101 102 102 #if 0