code: def test_convert(self):
      n, p = zinegbin.convert_params(25, 0.85, 2)
      n_true, p_true = 1.1764705882352942, 0.04494382022471911
      assert_allclose(n, n_true, rtol=1e-12, atol=1e-12)
      assert_allclose(p, p_true, rtol=1e-12, atol=1e-12)
  
      n, p = zinegbin.convert_params(7, 0.17, 1)
      n_true, p_true = 41.17647058823529, 0.8547008547008547
      assert_allclose(n, n_true, rtol=1e-12, atol=1e-12)
      assert_allclose(p, p_true, rtol=1e-12, atol=1e-12)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  from scipy import stats
  from scipy.stats import poisson, nbinom
  from statsmodels.tools.tools import Bunch
  from statsmodels.distributions.discrete import genpoisson_p, truncatedpoisson, truncatednegbin, zipoisson, zinegbin, zigenpoisson, DiscretizedCount, DiscretizedModel
label_desc: Use image node_id 11 for calling the TestZiNBP obj's underlying member method code with example usage: obj.test_convert() without return types