/[escript]/branches/schroedinger/escript/test/DataLazyTestCase.cpp
ViewVC logotype

Diff of /branches/schroedinger/escript/test/DataLazyTestCase.cpp

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

revision 1934 by jfenwick, Fri Oct 24 05:54:08 2008 UTC revision 1935 by jfenwick, Mon Oct 27 06:06:39 2008 UTC
# Line 124  getLazyB(DataTypes::ShapeType& shape, ES Line 124  getLazyB(DataTypes::ShapeType& shape, ES
124  void DataLazyTestCase::testLazy1()  void DataLazyTestCase::testLazy1()
125  {  {
126    cout << endl;    cout << endl;
127    cout << "Testing IDENTITY constructor\n";    cout << "\tTesting IDENTITY constructor\n";
128    
129    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
130    DataAbstract_ptr d1=getLazy(shape);    DataAbstract_ptr d1=getLazy(shape);
# Line 149  void DataLazyTestCase::testLazy1() Line 149  void DataLazyTestCase::testLazy1()
149  void DataLazyTestCase::testLazy2()  void DataLazyTestCase::testLazy2()
150  {  {
151    cout << endl;    cout << endl;
152    cout << "Testing UNARY constructor (basic checks only)\n";    cout << "\tTesting UNARY constructor (basic checks only)\n";
153    
154    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
155    DataAbstract_ptr d1=getLazy(shape,LOG);    DataAbstract_ptr d1=getLazy(shape,LOG);
# Line 181  void DataLazyTestCase::testLazy2() Line 181  void DataLazyTestCase::testLazy2()
181  void DataLazyTestCase::testLazy3()  void DataLazyTestCase::testLazy3()
182  {  {
183    cout << endl;    cout << endl;
184    cout << "Testing BINARY constructor (basic checks only)\n";    cout << "\tTesting BINARY constructor (basic checks only)\n";
185    
186    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
187    DataAbstract_ptr d1=getLazy(shape,ADD);    DataAbstract_ptr d1=getLazy(shape,ADD);
# Line 210  void DataLazyTestCase::testLazy3() Line 210  void DataLazyTestCase::testLazy3()
210  void DataLazyTestCase::testBuffers()  void DataLazyTestCase::testBuffers()
211  {  {
212    cout << endl;    cout << endl;
213    cout << "Testing Buffs required\n";    cout << "\tTesting Buffs required\n";
214    DataTypes::ShapeType shape;    DataTypes::ShapeType shape;
215    DataAbstract_ptr p=(new DataLazy(getLazy(shape),getLazy(shape),ADD))->getPtr();    DataAbstract_ptr p=(new DataLazy(getLazy(shape),getLazy(shape),ADD))->getPtr();
216    DataAbstract_ptr p2=(new DataLazy(p,SIN))->getPtr();    DataAbstract_ptr p2=(new DataLazy(p,SIN))->getPtr();

Legend:
Removed from v.1934  
changed lines
  Added in v.1935

  ViewVC Help
Powered by ViewVC 1.1.26