-
-
Save dpo/e01e5d6348c84f816b71fdea7161153f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python -c "import adolc; adolc.test()" | |
Running unit tests for adolc | |
NumPy version 1.11.0 | |
NumPy relaxed strides checking option: False | |
NumPy is installed in /Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/numpy | |
Python version 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] | |
nose version 1.3.7 | |
............F...called gfcn | |
.....[ 3.39343206 1.27253702] | |
[-0.77108022 0.42417901] | |
.............[ 35. 21. 15.] | |
....This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) | |
restricted \write18 enabled. | |
entering extended mode | |
(./tape_123.tex | |
LaTeX2e <2014/05/01> | |
Babel <3.9k> and hyphenation patterns for 78 languages loaded. | |
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls | |
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class | |
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo)) | |
No file tape_123.aux. | |
Overfull \hbox (5.3361pt too wide) in paragraph at lines 10--114 | |
[][] | |
Underfull \hbox (badness 10000) in paragraph at lines 10--114 | |
[1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] | |
[2] (./tape_123.aux) ) | |
(see the transcript file for additional information)</usr/local/texlive/2014/te | |
xmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/local/texlive/2014/texm | |
f-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2014/texmf- | |
dist/fonts/type1/public/amsfonts/cm/cmr5.pfb></usr/local/texlive/2014/texmf-dis | |
t/fonts/type1/public/amsfonts/cm/cmsy5.pfb> | |
Output written on tape_123.pdf (2 pages, 54120 bytes). | |
Transcript written on tape_123.log. | |
...4(a) | |
3(a) | |
.4(a) | |
5(a) | |
.....4.0 | |
3.0 | |
..........<class 'adolc._adolc.adub'> | |
<class 'adolc._adolc.adouble'> | |
......... | |
====================================================================== | |
FAIL: test_reverse (adolc.tests.test_cgraph.TestAdolcProgram) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/adolc/tests/test_cgraph.py", line 105, in test_reverse | |
assert_array_almost_equal(Vbar_list[0],Wbar) | |
File "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/numpy/testing/utils.py", line 912, in assert_array_almost_equal | |
precision=decimal) | |
File "/Users/dpo/.virtualenvs/fenics-from-scratch/lib/python2.7/site-packages/numpy/testing/utils.py", line 733, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not almost equal to 6 decimals | |
(mismatch 0.14880952381%) | |
x: array([[[[[[ 4.973006e-01, 2.226665e-02, 7.181798e-01], | |
[ 4.022549e-01, 5.585281e-01, 3.550243e-01], | |
[ 8.713829e-01, 7.174420e-01, 6.627364e-01],... | |
y: array([[[[[[ 4.973006e-01, 2.226665e-02, 7.181798e-01], | |
[ 4.022549e-01, 5.585281e-01, 3.550243e-01], | |
[ 8.713829e-01, 7.174420e-01, 6.627364e-01],... | |
---------------------------------------------------------------------- | |
Ran 66 tests in 1.901s | |
FAILED (failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment