def METHOD_NAME():
    np.testing.assert_array_equal(
        compute_voting_rights(
            np.array([0, 0.5, 0.5, 1, 1]), np.array([0.7, 0.7, 0.7, 1, 1])
        ),
        [0.7, 0.7, 0.7, 1, 1],
    )