/[escript]/trunk/escript/test/DataLazyTestCase.cpp
ViewVC logotype

Diff of /trunk/escript/test/DataLazyTestCase.cpp

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

revision 2065 by jfenwick, Mon Nov 10 01:21:39 2008 UTC revision 2066 by jfenwick, Thu Nov 20 05:31:33 2008 UTC
# Line 136  void DataLazyTestCase::testLazy1() Line 136  void DataLazyTestCase::testLazy1()
136      TESTOP(getRank,i);      TESTOP(getRank,i);
137      TESTOP(getNoValues,DataTypes::noValues(shape));      TESTOP(getNoValues,DataTypes::noValues(shape));
138      TESTOP(getShape,shape);      TESTOP(getShape,shape);
     TESTOP(getLength,DataTypes::noValues(shape));   // since we only have one point  
139      TESTOP(getNumDPPSample,1);      TESTOP(getNumDPPSample,1);
140      TESTOP(getNumSamples,1);      TESTOP(getNumSamples,1);
141      shape.push_back(3);      shape.push_back(3);
# Line 166  void DataLazyTestCase::testLazy2() Line 165  void DataLazyTestCase::testLazy2()
165      TESTOPU(getRank,i,op);      TESTOPU(getRank,i,op);
166          TESTOPU(getNoValues,DataTypes::noValues(shape),op);          TESTOPU(getNoValues,DataTypes::noValues(shape),op);
167          TESTOPU(getShape,shape,op);          TESTOPU(getShape,shape,op);
         TESTOPU(getLength,DataTypes::noValues(shape),op);  
168          TESTOPU(getNumDPPSample,1,op);          TESTOPU(getNumDPPSample,1,op);
169          TESTOPU(getNumSamples,1,op);          TESTOPU(getNumSamples,1,op);
170      TESTOPU(getBuffsRequired,1,op);      TESTOPU(getBuffsRequired,1,op);
# Line 198  void DataLazyTestCase::testLazy3() Line 196  void DataLazyTestCase::testLazy3()
196      TESTOPB(getRank,i,op);      TESTOPB(getRank,i,op);
197          TESTOPB(getNoValues,DataTypes::noValues(shape),op);          TESTOPB(getNoValues,DataTypes::noValues(shape),op);
198          TESTOPB(getShape,shape,op);          TESTOPB(getShape,shape,op);
         TESTOPB(getLength,DataTypes::noValues(shape),op);  
199          TESTOPB(getNumDPPSample,1,op);          TESTOPB(getNumDPPSample,1,op);
200          TESTOPB(getNumSamples,1,op);          TESTOPB(getNumSamples,1,op);
201      TESTOPB(getBuffsRequired,2,op);      TESTOPB(getBuffsRequired,2,op);

Legend:
Removed from v.2065  
changed lines
  Added in v.2066

  ViewVC Help
Powered by ViewVC 1.1.26