code: def test_covariance_smoke(
      data: ArrayLike, estimator: type[CovarianceEstimator]
  ):
      cov = estimator(data)
      est_cov = cov.cov
      ndim = data.shape[1] if data.ndim > 1 else 1
      assert isinstance(est_cov, CovarianceEstimate)
      assert est_cov.long_run.shape == (ndim, ndim)
      assert est_cov.short_run.shape == (ndim, ndim)
      assert est_cov.one_sided_strict.shape == (ndim, ndim)
      assert est_cov.one_sided.shape == (ndim, ndim)
      assert isinstance(str(cov), str)
      assert isinstance(repr(cov), str)
  
file_path: arch/arch/tests/covariance/test_covariance.py
imports: from itertools import product
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from arch.covariance.kernel import Andrews, Bartlett, CovarianceEstimate, CovarianceEstimator, Gallant, NeweyWest, Parzen, ParzenCauchy, ParzenGeometric, ParzenRiesz, QuadraticSpectral, TukeyHamming, TukeyHanning, TukeyParzen
  from arch.typing import ArrayLike
label_desc: Use image node_id 3 for calling a global function with example usage: test_covariance_smoke(data, estimator) without return types