code: def test_log_binomial(n):
      comp = SineBivariateVonMises._lbinoms(tensor(n))
      act = tensor([binom(2 * i, i) for i in range(n)]).log()
      assert_equal(act, comp)
  
file_path: pyro/tests/distributions/test_sine_bivariate_von_mises.py
imports: import pytest
  import torch
  from scipy.special import binom
  from torch import tensor
  from torch.distributions import Beta, HalfNormal, VonMises
  import pyro
  from pyro.distributions import Geometric, constraints
  from pyro.distributions.sine_bivariate_von_mises import SineBivariateVonMises
  from pyro.infer import SVI, Trace_ELBO
  from tests.common import assert_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_log_binomial(n) without return types