def METHOD_NAME():
    from siconos.numerics import SBM_from_csparse, SBM_get_value
    from scipy.sparse.csc import csc_matrix
    M = csc_matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
    # print(M.indices)
    # print(M.indptr)
    # print(M.data)
    blocksize = 3
    r, SBM = SBM_from_csparse(blocksize, M)
    assert SBM_get_value(SBM, 0, 0) == 1
    assert SBM_get_value(SBM, 0, 1) == 2
    assert SBM_get_value(SBM, 0, 2) == 3
    assert SBM_get_value(SBM, 1, 0) == 4
    assert SBM_get_value(SBM, 1, 1) == 5
    assert SBM_get_value(SBM, 1, 2) == 6
    assert SBM_get_value(SBM, 2, 0) == 7
    assert SBM_get_value(SBM, 2, 1) == 8
    assert SBM_get_value(SBM, 2, 2) == 9