diff --git a/GPy/testing/quadrature_tests.py b/GPy/testing/quadrature_tests.py index f6b361e9..5690edfb 100644 --- a/GPy/testing/quadrature_tests.py +++ b/GPy/testing/quadrature_tests.py @@ -3,16 +3,13 @@ import numpy as np from ..util.quad_integrate import quadgk_int, quadvgk -class QuadTests(np.testing.TestCase): +class TestQuad: """ test file for checking implementation of gaussian-kronrod quadrature. we will take a function which can be integrated analytically and check if quadgk result is similar or not! through this file we can test how numerically accurate quadrature implementation in native numpy or manual code is. """ - def setUp(self): - pass - def test_infinite_quad(self): def f(x): return np.exp(-0.5 * x**2) * np.power(x, np.arange(3)[:, None])