code: def test_old_vs_new_gp_fused(
      likelihood: gpflow.likelihoods.Likelihood,
      full_cov: bool,
      full_output_cov: bool,
  ) -> None:
      X, X_new, Y = _get_data_for_tests()
      mold, mnew = make_models((X, Y), likelihood)
  
      mu_old, var2_old = mold.predict_f(
          X_new, full_cov=full_cov, full_output_cov=full_output_cov
      )
      mu_new_fuse, var2_new_fuse = mnew.predict_f(
          X_new, full_cov=full_cov, full_output_cov=full_output_cov
      )
      # check new fuse is same as old version
      np.testing.assert_allclose(mu_new_fuse, mu_old)
      np.testing.assert_allclose(var2_new_fuse, var2_old)
  
file_path: GPflow/tests/gpflow/models/test_vgp_posterior.py
imports: from typing import Tuple
  import numpy
  import pytest
  from check_shapes import check_shapes
  import gpflow
  from gpflow.base import AnyNDArray, RegressionData
  from gpflow.models.vgp import VGP_deprecated, VGP_with_posterior
  from gpflow.posteriors import PrecomputeCacheType
label_desc: Use image node_id 3 for calling a global function with example usage: test_old_vs_new_gp_fused(likelihood, full_cov, full_output_cov) without return types