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

Diff of /branches/arrayview_from_1695_trunk/escript/test/DataConstantTestCase.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 43  void DataConstantTestCase::testAll() { Line 43  void DataConstantTestCase::testAll() {
43    //    //
44    // Create a scalar pointData    // Create a scalar pointData
45    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
46    DataTypes::ValueType data(DataArrayView::noValues(shape),0);    DataTypes::ValueType data(DataTypes::noValues(shape),0);
47    DataArrayView pointData(data,shape);    DataArrayView pointData(data,shape);
48    
49    //    //
# Line 96  void DataConstantTestCase::testAll() { Line 96  void DataConstantTestCase::testAll() {
96  */  */
97    
98    cout << "\tTesting alternative constructor." << endl;    cout << "\tTesting alternative constructor." << endl;
99    DataTypes::ValueType data1(DataArrayView::noValues(shape),1.0);    DataTypes::ValueType data1(DataTypes::noValues(shape),1.0);
100    // do not call the FunctionSpace constructor directly    // do not call the FunctionSpace constructor directly
101    // in the argument of DataConstant    // in the argument of DataConstant
102    // GCC chokes on it.    // GCC chokes on it.

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

  ViewVC Help
Powered by ViewVC 1.1.26