Source code for numdifftools.tests.test_scripts
import pytest
from numdifftools.profile_numdifftools import main, profile_hessian
from numdifftools._find_default_scale import run_all_benchmarks
from numdifftools import run_benchmark
[docs]def test__find_default_scale_run_all_benchmarks():
run_all_benchmarks(method='forward', order=2, x_values=[0.1, ], n_max=3)
[docs]@pytest.mark.skip(
'Suspect this test breaks all further testing or at least makes the coverage to not show.')
def test_profile_numdifftools_profile_hessian():
profile_hessian()