/[resiprocate]/main/rutil/test/testData.cxx
ViewVC logotype

Diff of /main/rutil/test/testData.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 698 by derekm, Tue Nov 19 02:44:43 2002 UTC revision 725 by davidb, Mon Nov 25 19:30:47 2002 UTC
# Line 6  Line 6 
6  using namespace Vocal2;  using namespace Vocal2;
7  using namespace std;  using namespace std;
8    
   
   
   
9  // for friends  // for friends
10  class TestData  class TestData
11  {  {
# Line 16  Line 13 
13        void main()        void main()
14        {        {
15           {           {
16                Data d("012345");
17                assert(d[0] == '0');
18                assert(d[1] == '1');
19                assert(d[2] == '2');
20                assert(d[3] == '3');
21                assert(d[4] == '4');
22                assert(d[5] == '5');
23             }
24    
25             {
26              Data *d = new Data("origin",6);              Data *d = new Data("origin",6);
27              {              {
28                 Data * t = d;                 Data * t = d;

Legend:
Removed from v.698  
changed lines
  Added in v.725

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27