def METHOD_NAME(self):
    # Check rotation
    dt = DataTransforms(self.d)
    angles = [0, 5, 10, 90]
    for ang in angles:
        rotate = dt.rotate(ang)
        check_rotate = scipy.ndimage.rotate(self.d, ang)
        assert np.allclose(rotate, check_rotate)
    # Some more test cases for flip
    rotate = dt.rotate(-90)
    check_rotate = scipy.ndimage.rotate(self.d, 270)
    assert np.allclose(rotate, check_rotate)