code: def test_leggaus(self):
      for a, b in zip(
          utils.leggauss(20, dtype=torch.float64), numpy_leggauss(20)
      ):
          self.assertEqual(a.dtype, torch.float64)
          self.assertTrue((a.numpy() == b).all())
  
file_path: botorch/test/utils/probability/test_utils.py
imports: from __future__ import annotations
  import torch
  from botorch.utils.probability import ndtr, utils
  from botorch.utils.probability.utils import log_erfc, log_erfcx, log_ndtr, log_phi, log_prob_normal_in, phi, standard_normal_log_hazard
  from botorch.utils.testing import BotorchTestCase
  from numpy.polynomial.legendre import leggauss
label_desc: Use image node_id 3 for calling the TestProbabilityUtils obj's underlying member method code with example usage: obj.test_leggaus() without return types