code: def test_photonics_bragg_recombination() -> None:
      func = core.Photonics("bragg", 8)
      func.parametrization.random_state.seed(24)
      arrays = [func.parametrization.spawn_child() for _ in range(2)]
      arrays[0].value = [[2, 2, 2, 2], [35, 35, 35, 35]]
      arrays[1].value = [[3, 3, 3, 3], [45, 45, 45, 45]]
      arrays[0].recombine(arrays[1])
      expected = [[3, 2, 2, 2], [45, 35, 35, 35]]
      np.testing.assert_array_equal(arrays[0].value, expected)
  
imports: import os
  from unittest import SkipTest
  import warnings
  import typing
  import pytest
  import numpy
  from nevergrad.common import testing
  from .None import core
  from .None import photonics
label_desc: Use image node_id 4 for calling a global function with example usage: test_photonics_bragg_recombination() without return types