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

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

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

revision 113 by jgs, Mon Feb 28 07:06:33 2005 UTC revision 121 by jgs, Fri May 6 04:26:16 2005 UTC
# Line 1101  void DataArrayViewTestCase::testScalarVi Line 1101  void DataArrayViewTestCase::testScalarVi
1101    // Create a vector containing enough data for three scalars    // Create a vector containing enough data for three scalars
1102    // and check three scalar views return the appropriate data    // and check three scalar views return the appropriate data
1103    DataArrayView::ShapeType vShape;    DataArrayView::ShapeType vShape;
1104    DataArrayView::ValueType vData;    DataArrayView::ValueType vData(3);
1105    vData.push_back(0);    vData[0]=0;
1106    vData.push_back(1);    vData[1]=1;
1107    vData.push_back(2);    vData[2]=2;
1108    
1109    // create the three scalar views    // create the three scalar views
1110    DataArrayView zView(vData,vShape,0);    DataArrayView zView(vData,vShape,0);

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

  ViewVC Help
Powered by ViewVC 1.1.26