docstr: ...Test simulation with negative kernel
          
docstr_tok: ["...","Test","simulation","with","negative","kernel"]
code: def test_hawkes_negative_intensity(self):
      """...Test simulation with negative kernel"""
      run_time = 40
  
      hawkes = SimuHawkes(
          n_nodes=1, end_time=run_time, verbose=False, seed=1398
      )
      kernel = HawkesKernelExp(-1.3, 0.8)
      hawkes.set_kernel(0, 0, kernel)
      hawkes.set_baseline(0, 0.3)
      hawkes.threshold_negative_intensity()
  
      dt = 0.1
      hawkes.track_intensity(dt)
      hawkes.simulate()
  
      self.assertAlmostEqual(hawkes.tracked_intensity[0].min(), 0)
      self.assertAlmostEqual(
          hawkes.tracked_intensity[0].max(), hawkes.baseline[0]
      )
      self.assertGreater(hawkes.n_total_jumps, 1)
  
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 11 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_negative_intensity() without return types