-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test 3 fails #52
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run the unit tests and it seems the test3 failed. I attach the log below.
FYI, I tested on ubuntu23.04/gfortran 12.2/ openblas 0.3.21 /AMD Ryzen 3500U.
Log:
Test project /home/hexu/projects/greenX/build
Start 1: UNITTEST_test_pade_approximant
1/3 Test #1: UNITTEST_test_pade_approximant ... Passed 0.00 sec
Start 2: test_gx_minimax_grid
2/3 Test #2: test_gx_minimax_grid ............. Passed 1.78 sec
Start 3: test_gx_tabulate_minimax
3/3 Test #3: test_gx_tabulate_minimax .........***Failed 6.40 sec
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
rootdir: /home/hexu/projects/greenX/build
plugins: xonsh-0.13.4
collected 1 item
test_gx_tabulate_minimax.py Binary source: /home/hexu/projects/greenX/build/bin/gx_tabulate_grids.exe
FTestdir: /tmp/pytest-of-hexu/pytest-3/test_tabulate_gx_minimax_grid0
=================================== FAILURES ===================================
________________________ test_tabulate_gx_minimax_grid _________________________
fortran_binary = PosixPath('/home/hexu/projects/greenX/build/bin/gx_tabulate_grids.exe')
E assert False
E + where False = <function allclose at 0x7fb559e44a40>(array([1.44000655e-08, 4.74668609e-09, 5.94594904e-09, 7.14314387e-09,\n 1.21514300e-08, 6.46172347e-08]), array([1.44000650e-08, 4.74668548e-09, 5.94764298e-09, 3.15970462e-08,\n 6.30107694e-08, 3.86664983e-07]), atol=1e-07)
E + where <function allclose at 0x7fb559e44a40> = np.allclose
/home/hexu/projects/greenX/build/test/time-frequency/test_gx_tabulate_minimax.py:116: AssertionError
=========================== short test summary info ============================
FAILED test_gx_tabulate_minimax.py::test_tabulate_gx_minimax_grid - assert False
============================== 1 failed in 4.74s ===============================
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 8.19 sec
The following tests FAILED:
3 - test_gx_tabulate_minimax (Failed)
The text was updated successfully, but these errors were encountered: