docstr: ...Test that the corresponding simulation object is correctly
  built
docstr_tok: ["...","Test","that","the","corresponding","simulation","object","is","correctly","built"]
code: def test_corresponding_simu(self):
      """...Test that the corresponding simulation object is correctly
      built
      """
      learner = HawkesSumExpKern(self.decays, max_iter=10)
      learner.fit(self.events)
  
      corresponding_simu = learner._corresponding_simu()
      np.testing.assert_array_equal(
          corresponding_simu.decays, learner.decays
      )
      np.testing.assert_array_equal(
          corresponding_simu.baseline, learner.baseline
      )
      np.testing.assert_array_equal(
          corresponding_simu.adjacency, learner.adjacency
      )
  
      learner = HawkesSumExpKern(
          self.decays, n_baselines=3, period_length=1, max_iter=10
      )
      learner.fit(self.events)
  
      corresponding_simu = learner._corresponding_simu()
      np.testing.assert_array_equal(
          corresponding_simu.decays, learner.decays
      )
      np.testing.assert_array_equal(
          corresponding_simu.baseline, learner.baseline
      )
      np.testing.assert_array_equal(
          corresponding_simu.adjacency, learner.adjacency
      )
  
imports: import unittest
  import numpy
  from tick.base.inference import InferenceTest
  from tick.hawkes import SimuHawkesSumExpKernels, SimuHawkesMulti
  from tick.hawkes.inference import HawkesSumExpKern
  from tick.prox import ProxNuclear
  from tick.prox import ProxPositive, ProxL1, ProxL2Sq, ProxElasticNet
  from tick.solver import AGD, GD, BFGS, SGD, SVRG
label_desc: Use image node_id 17 for calling the Test obj's underlying member method code with example usage: obj.test_corresponding_simu() without return types