def METHOD_NAME(self):
    q = haralick.quantize(gray, 7)
    correct = np.array(
        [[0, 0, 2, 2], [0, 0, 2, 2], [0, 4, 4, 4], [4, 4, 6, 6]], dtype="i4"
    )
    self.assertTrue((q == correct).all())