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

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

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

revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2008 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #include "escript/DataBlocks2D.h"  #include "escript/DataBlocks2D.h"
16  #include "esysUtils/EsysException.h"  #include "esysUtils/EsysException.h"
# Line 126  void DataBlocks2DTestCase::testAll() { Line 125  void DataBlocks2DTestCase::testAll() {
125          DataBlocks2D myData(numRows,numCols,blockSize);          DataBlocks2D myData(numRows,numCols,blockSize);
126          assert(false);          assert(false);
127      }      }
128      catch(EsysException& e) {      catch(EsysException&) {
129          assert(true);          assert(true);
130      }      }
131    }    }
# Line 140  void DataBlocks2DTestCase::testAll() { Line 139  void DataBlocks2DTestCase::testAll() {
139          DataBlocks2D myData(numRows,numCols,blockSize);          DataBlocks2D myData(numRows,numCols,blockSize);
140          assert(false);          assert(false);
141      }      }
142      catch(EsysException& e) {      catch(EsysException&) {
143          assert(true);          assert(true);
144      }      }
145    }    }
# Line 154  void DataBlocks2DTestCase::testAll() { Line 153  void DataBlocks2DTestCase::testAll() {
153          DataBlocks2D myData(numRows,numCols,blockSize);          DataBlocks2D myData(numRows,numCols,blockSize);
154          assert(false);          assert(false);
155      }      }
156      catch(EsysException& e) {      catch(EsysException&) {
157          assert(true);          assert(true);
158      }      }
159    }    }
# Line 211  void DataBlocks2DTestCase::testAll() { Line 210  void DataBlocks2DTestCase::testAll() {
210        myData.index(1,2);        myData.index(1,2);
211        assert(false);        assert(false);
212      }      }
213      catch (EsysException& e) {      catch (EsysException&) {
214        assert(true);        assert(true);
215      }      }
216    }    }

Legend:
Removed from v.1312  
changed lines
  Added in v.1811

  ViewVC Help
Powered by ViewVC 1.1.26