code: def test_rand_int_casting() -> None:
      param = _datalayers.Bound(0, 1)(ng.p.Array(shape=(100, 10)) + 0.2)
      param = _datalayers.Int(deterministic=False)(param)
      total = param.value.ravel().sum()
      assert 50 < total < 500
  
imports: import pytest
  import numpy
  import nevergrad
  from nevergrad.common import testing
  import nevergrad.common.typing
  from .None import _datalayers
  from .None import helpers
label_desc: Use image node_id 14 for calling a global function with example usage: test_rand_int_casting() without return types