/[escript]/branches/ROBW_XPLATFORM/escript/test/DataVectorTestCase.cpp
ViewVC logotype

Diff of /branches/ROBW_XPLATFORM/escript/test/DataVectorTestCase.cpp

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

trunk/esys2/escript/test/DataVector/DataVectorTestCase.cpp revision 121 by jgs, Fri May 6 04:26:16 2005 UTC branches/ROBW_XPLATFORM/escript/test/DataVector/DataVectorTestCase.cpp revision 622 by robwdcock, Wed Mar 22 14:00:08 2006 UTC
# Line 11  Line 11 
11   *                                                                           *   *                                                                           *
12   *****************************************************************************   *****************************************************************************
13  */  */
14  #include "escript/Data/DataVector.h"  #include "DataVector.h"
15  #include "esysUtils/EsysException.h"  #include "EsysException.h"
16    
17  #include "DataVectorTestCase.h"  #include "DataVectorTestCase.h"
18    
# Line 61  void DataVectorTestCase::testAll() { Line 61  void DataVectorTestCase::testAll() {
61      vec.resize(0,0,1);      vec.resize(0,0,1);
62      assert(vec.size() == 0);      assert(vec.size() == 0);
63    }    }
64    
65    {    {
66      cout << "\tCreate and check DataVector objects of various sizes." << endl;      cout << "\tCreate and check DataVector objects of various sizes." << endl;
67    
# Line 96  void DataVectorTestCase::testAll() { Line 96  void DataVectorTestCase::testAll() {
96        assert(vec[i] == i/1000);        assert(vec[i] == i/1000);
97      }      }
98    }    }
99    
100    {    {
101      cout << "\tCheck DataVector copy constructor." << endl;      cout << "\tCheck DataVector copy constructor." << endl;
102    

Legend:
Removed from v.121  
changed lines
  Added in v.622

  ViewVC Help
Powered by ViewVC 1.1.26