code: def test_PBO(fid: int, iid: int) -> None:
      values = []
      try:
          func = core.PBOFunction(fid, iid, 16)
      except ModuleNotFoundError as e:
          raise SkipTest("IOH is not installed") from e
      for _ in range(30):
          x = func.parametrization.sample()
          assert not set(x.value) - {0, 1}, f"Non binary sample {x}."
          value = func(x.value)
          assert isinstance(
              value, float
          ), "All output of the iohprofiler-functions should be float"
          assert np.isfinite(value)
          values.append(value)
      optim = OnePlusOne(func.parametrization, budget=100)
      recom = optim.minimize(func)
      values.append(func(recom.value))  # type: ignore
      assert (
          fid in [19, 20, 21, 22, 23]
          or min(values) >= 0.0
          or max(values) <= 0.0
      ), f"IOH profile functions should have constant sign: pb with fid={fid},iid={iid}."
  
file_path: nevergrad/nevergrad/functions/iohprofiler/test_core.py
imports: from unittest import SkipTest
  import pytest
  import numpy
  from nevergrad.optimization.optimizerlib import OnePlusOne
  from .None import core
label_desc: Use image node_id 1 for calling a global function with example usage: test_PBO(fid, iid) without return types