def METHOD_NAME(self):
    region = Region()
    region.ewres = 0.4
    region.nsres = 0.4
    region.adjust(rows=True, cols=True)
    a = raster2numpy_img(self.name, region, color="GRAY1")
    self.assertEqual(len(a), region.rows * region.cols * 1)