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

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

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

revision 2036 by jfenwick, Mon Nov 10 01:21:39 2008 UTC revision 2037 by jfenwick, Thu Nov 13 06:17:12 2008 UTC
# Line 269  void DataTestCase::testSlicingWorker(boo Line 269  void DataTestCase::testSlicingWorker(boo
269    
270    const int NUMDATS=3;    const int NUMDATS=3;
271    const char* strs[]={"DataConstant", "DataTagged","DataExpanded"};    const char* strs[]={"DataConstant", "DataTagged","DataExpanded"};
   bool tags[]={false,true,false};   // is the slice of this data supposed to be tagged  
272    Data* dats[NUMDATS];    Data* dats[NUMDATS];
273    Data* src[NUMDATS];    Data* src[NUMDATS];
274    for (int k=0;k<NUMDATS;++k)    for (int k=0;k<NUMDATS;++k)
# Line 779  void DataTestCase::testOperations() Line 778  void DataTestCase::testOperations()
778    assert(baseTag.isTagged());    assert(baseTag.isTagged());
779    
780    Data results[NUMDATS];    Data results[NUMDATS];
781    Data& resultEx=results[0];  //   Data& resultEx=results[0];
782    Data& resultCon=results[1];  //   Data& resultCon=results[1];
783    Data& resultTag=results[2];  //   Data& resultTag=results[2];
784    
785    // create 0 <= smalldata <= 1 for testing trig functions    // create 0 <= smalldata <= 1 for testing trig functions
786    

Legend:
Removed from v.2036  
changed lines
  Added in v.2037

  ViewVC Help
Powered by ViewVC 1.1.26