Changeset 3568 in Sophya for trunk/SophyaProg


Ignore:
Timestamp:
Feb 6, 2009, 11:36:57 PM (17 years ago)
Author:
ansari
Message:

Petite modif prog. test SegDataBlock - Reza 06/02/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tstsegdb.cc

    r2694 r3568  
    4444    sgds[8] = "BbbBBbb";
    4545    sgds.Print(cout, 4, " ; ");
    46     cout << "1.b/ Appel operateur copie : sgsdscp = sgds " << endl;
     46   
     47    cout << "1.b/ Testing SegDataBlock<string> srsdb.Share(sgds)" << endl;
     48    SegDataBlock<string> srsdb;
     49    srsdb.Share(sgds);
     50    srsdb.Print(cout, 4, " ; ");
     51    srsdb[6] = "HelloBug";
     52    sgds.Print(cout, 4, " ; ");
     53
     54    cout << "1.c/ Appel operateur copie : sgsdscp = sgds " << endl;
    4755    SegDataBlock<string> sgdscp;
    4856    sgdscp = sgds;
Note: See TracChangeset for help on using the changeset viewer.