docstr: ...Test SimuHawkes constructor
          
docstr_tok: ["...","Test","SimuHawkes","constructor"]
code: def test_simu_hawkes_constructor(self):
      """...Test SimuHawkes constructor"""
      hawkes = SimuHawkes(kernels=self.kernels)
      self.assertEqual(hawkes.n_nodes, 2)
      np.testing.assert_array_equal(hawkes.baseline, np.zeros(2))
      for i, j in product(range(2), range(2)):
          self.assertEqual(hawkes.kernels[i, j], self.kernels[i, j])
  
      hawkes = SimuHawkes(baseline=self.baseline)
      self.assertEqual(hawkes.n_nodes, 2)
      np.testing.assert_array_equal(hawkes.baseline, self.baseline)
      for i, j in product(range(2), range(2)):
          self.assertEqual(
              hawkes.kernels[i, j].__class__, HawkesKernel0
          )
          self.assertEqual(hawkes.kernels[i, j], hawkes._kernel_0)
  
      hawkes = SimuHawkes(n_nodes=2)
      self.assertEqual(hawkes.n_nodes, 2)
      np.testing.assert_array_equal(hawkes.baseline, np.zeros(2))
      for i, j in product(range(2), range(2)):
          self.assertEqual(
              hawkes.kernels[i, j].__class__, HawkesKernel0
          )
          self.assertEqual(hawkes.kernels[i, j], hawkes._kernel_0)
  
imports: import unittest
  import warnings
  from contextlib import contextmanager
  from itertools import product
  import numpy
  from tick.base import TimeFunction
  from tick.hawkes import SimuHawkes, HawkesKernelExp, HawkesKernelSumExp, HawkesKernel0, HawkesKernelPowerLaw, HawkesKernelTimeFunc, SimuHawkesExpKernels
label_desc: Use image node_id 7 for calling the Test obj's underlying member method code with example usage: obj.test_simu_hawkes_constructor() without return types