code: def test_gen_laguerre_precise():
      x, w = gauss_gen_laguerre(3, Rational(-1, 2), 40)
      assert [str(r) for r in x] == [
          "0.1901635091934881328718554276203028970878",
          "1.784492748543251591186722461957367638500",
          "5.525343742263260275941422110422329464413",
      ]
      assert [str(r) for r in w] == [
          "1.449259190448785048183829411195134343108",
          "0.3141346406457132878326231270167565378246",
          "0.009060019811017691281714945129254301865020",
      ]
  
      x, w = gauss_gen_laguerre(3, 2, 40)
      assert [str(r) for r in x] == [
          "1.517387080677412495020323111016672547482",
          "4.311583133719520302881184669723530562299",
          "9.171029785603067202098492219259796890218",
      ]
      assert [str(r) for r in w] == [
          "1.037494961490425285817554606541269153041",
          "0.9057500047030653669269785048806009945254",
          "0.05675503380650934725546688857812985243312",
      ]
  
file_path: sympy/sympy/integrals/tests/test_quadrature.py
imports: from sympy.core import S, Rational
  from sympy.integrals.quadrature import gauss_legendre, gauss_laguerre, gauss_hermite, gauss_gen_laguerre, gauss_chebyshev_t, gauss_chebyshev_u, gauss_jacobi, gauss_lobatto
label_desc: Use image node_id 8 for calling a global function with example usage: test_gen_laguerre_precise() without return types