def METHOD_NAME(texture):
    orig_dim = texture.dimensions
    orig_data = texture.to_array()
    texture_rot = texture.rotate_ccw()
    assert texture_rot.dimensions == orig_dim[::-1]
    assert np.allclose(np.rot90(orig_data, k=3), texture_rot.to_array())