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

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

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

revision 1455 by phornby, Thu Feb 28 17:19:44 2008 UTC revision 1796 by jfenwick, Wed Sep 17 01:45:46 2008 UTC
# Line 64  void DataEmptyTestCase::testAll() { Line 64  void DataEmptyTestCase::testAll() {
64    try {    try {
65      cout << "\tTest getDataPoint." << endl;      cout << "\tTest getDataPoint." << endl;
66      // this function also returns a DataArrayView object - should check that      // this function also returns a DataArrayView object - should check that
67      testData.getDataPoint(0,0);      testData.getPointOffset(0,0);
68      assert(false);      assert(false);
69    }    }
70    catch (EsysException&) {    catch (EsysException&) {
# Line 75  void DataEmptyTestCase::testAll() { Line 75  void DataEmptyTestCase::testAll() {
75    cout << "\tTest getLength." << endl;    cout << "\tTest getLength." << endl;
76    assert(testData.getLength() == 0);    assert(testData.getLength() == 0);
77    
78    DataArrayView::RegionType region;    DataTypes::RegionType region;
79    
80    try {    try {
81      cout << "\tTest getSlice." << endl;      cout << "\tTest getSlice." << endl;

Legend:
Removed from v.1455  
changed lines
  Added in v.1796

  ViewVC Help
Powered by ViewVC 1.1.26