if (!spaceMgr->TestOffsetRegion()) { return -1; }   if (!spaceMgr->TestResizeRectRegion()) { return -1; }
int main(int argc, char** argv){  // Create a space manager  MySpaceManager* spaceMgr = new MySpaceManager(nsnull, nsnull);    // Test adding rect regions  if (!spaceMgr->TestAddBand()) {    delete spaceMgr;    return -1;  }  // Test adding rect regions that overlap existing bands  if (!spaceMgr->TestAddBandOverlap()) {    delete spaceMgr;    return -1;  }  // Test adding rects within an existing band  if (!spaceMgr->TestAddRectToBand()) {    delete spaceMgr;    return -1;  }  // Test removing regions  if (!spaceMgr->TestRemoveRegion()) {    return -1;  }  // Test offseting regions  if (!spaceMgr->TestOffsetRegion()) {    return -1;  }  // Test resizing rect regions  if (!spaceMgr->TestResizeRectRegion()) {    return -1;  }  // Test getting the band data  if (!spaceMgr->TestGetBandData()) {    return -1;  }  delete spaceMgr;  return 0;}