/[escript]/branches/arrayview_from_1695_trunk/escript/test/DataExpandedTestCase.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/test/DataExpandedTestCase.cpp

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

revision 1697 by jfenwick, Mon Aug 11 06:29:54 2008 UTC revision 1698 by jfenwick, Tue Aug 12 01:13:16 2008 UTC
# Line 45  void DataExpandedTestCase::testAll() { Line 45  void DataExpandedTestCase::testAll() {
45    // Create a rank 1 pointData    // Create a rank 1 pointData
46    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
47    shape.push_back(3);    shape.push_back(3);
48    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
49    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
50    
51    //    //
# Line 138  void DataExpandedTestCase::testSlicing() Line 138  void DataExpandedTestCase::testSlicing()
138    // Create a rank 1 pointData    // Create a rank 1 pointData
139    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
140    shape.push_back(3);    shape.push_back(3);
141    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
142    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
143    
144    //    //
# Line 183  void DataExpandedTestCase::testSlicing2( Line 183  void DataExpandedTestCase::testSlicing2(
183    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
184    shape.push_back(3);    shape.push_back(3);
185    shape.push_back(3);    shape.push_back(3);
186    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
187    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
188    
189    //    //
# Line 262  void DataExpandedTestCase::testSlicing3( Line 262  void DataExpandedTestCase::testSlicing3(
262    shape.push_back(3);    shape.push_back(3);
263    shape.push_back(3);    shape.push_back(3);
264    shape.push_back(3);    shape.push_back(3);
265    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
266    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
267    
268    //    //
# Line 377  void DataExpandedTestCase::testSliceSett Line 377  void DataExpandedTestCase::testSliceSett
377    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
378    shape.push_back(2);    shape.push_back(2);
379    shape.push_back(2);    shape.push_back(2);
380    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
381    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
382    
383    //    //
# Line 397  void DataExpandedTestCase::testSliceSett Line 397  void DataExpandedTestCase::testSliceSett
397    DataTypes::ShapeType shape2;    DataTypes::ShapeType shape2;
398    shape2.push_back(3);    shape2.push_back(3);
399    shape2.push_back(3);    shape2.push_back(3);
400    DataTypes::ValueType data2(DataArrayView::noValues(shape2),0);    DataTypes::ValueType data2(DataTypes::noValues(shape2),0);
401    DataArrayView pointData2(data2,shape2);    DataArrayView pointData2(data2,shape2);
402    
403    //    //
# Line 451  void DataExpandedTestCase::testSliceSett Line 451  void DataExpandedTestCase::testSliceSett
451    //    //
452    // Create a rank 0 pointData    // Create a rank 0 pointData
453    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
454    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
455    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
456    
457    //    //
# Line 468  void DataExpandedTestCase::testSliceSett Line 468  void DataExpandedTestCase::testSliceSett
468    DataTypes::ShapeType shape2;    DataTypes::ShapeType shape2;
469    shape2.push_back(3);    shape2.push_back(3);
470    shape2.push_back(3);    shape2.push_back(3);
471    DataTypes::ValueType data2(DataArrayView::noValues(shape2),0);    DataTypes::ValueType data2(DataTypes::noValues(shape2),0);
472    DataArrayView pointData2(data2,shape2);    DataArrayView pointData2(data2,shape2);
473    
474    //    //

Legend:
Removed from v.1697  
changed lines
  Added in v.1698

  ViewVC Help
Powered by ViewVC 1.1.26