def METHOD_NAME(self):
    hstary = np.arange(100, dtype=np.uint32)
    hstary2 = np.arange(100, dtype=np.uint32)
    sz = hstary.size * hstary.dtype.itemsize
    devary = self.context.memalloc(sz)
    driver.host_to_device(devary, hstary, sz)
    driver.device_to_host(hstary2, devary, sz)
    self.assertTrue(np.all(hstary == hstary2))