Changeset 1008

Show
Ignore:
Timestamp:
05/27/10 23:07:04 (14 years ago)
Author:
smidl
Message:

pass test of rv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/rv_test.cpp

    r722 r1008  
    3939        std::stringstream abss; 
    4040        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() ); 
    4242 
    4343        // concat a, b and c 
     
    4646        std::stringstream abcss; 
    4747        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() ); 
    4949 
    5050        // structure of a, b, c 
     
    8383        std::stringstream acss; 
    8484        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() ); 
    8686 
    8787        // data index of ac in abc 
     
    9898        std::stringstream bcss; 
    9999        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() ); 
    101101 
    102102#if 0