diff options
author | Egor Zindy <ezindy@gmail.com> | 2013-06-16 22:50:40 +0100 |
---|---|---|
committer | Egor Zindy <ezindy@gmail.com> | 2013-06-16 22:50:40 +0100 |
commit | f70632f74f7b0feb9d78aff62eb9eebbb6a502ba (patch) | |
tree | 547d549c16f74fb377e9fd6c1dd06a14e929a1ef /doc/source/reference/swig.testing.rst | |
parent | f56411b4913f265fba1a50eba590124d5f7a6d27 (diff) | |
download | numpy-f70632f74f7b0feb9d78aff62eb9eebbb6a502ba.tar.gz |
Added more mentions of the SuperTensor tests and corrected the number of typemaps and tests (currently 1427 unit tests passed with 'make test': 372+324+324+324+40+19+24)
Diffstat (limited to 'doc/source/reference/swig.testing.rst')
-rw-r--r-- | doc/source/reference/swig.testing.rst | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/source/reference/swig.testing.rst b/doc/source/reference/swig.testing.rst index 90bf5c887..8b19e4b28 100644 --- a/doc/source/reference/swig.testing.rst +++ b/doc/source/reference/swig.testing.rst @@ -6,11 +6,11 @@ Introduction Writing tests for the ``numpy.i`` `SWIG <http://www.swig.org>`_ interface file is a combinatorial headache. At present, 12 different -data types are supported, each with 70 different argument signatures, -for a total of 840 typemaps supported "out of the box". Each of these +data types are supported, each with 74 different argument signatures, +for a total of 888 typemaps supported "out of the box". Each of these typemaps, in turn, might require several unit tests in order to verify expected behavior for both proper and improper inputs. Currently, -this results in 1,102 individual unit tests that are performed when +this results in 1,427 individual unit tests that are performed when ``make test`` is run in the ``numpy/docs/swig`` subdirectory. To facilitate this many similar unit tests, some high-level @@ -56,9 +56,11 @@ each data type supported. Two-dimensional arrays are tested in exactly the same manner. The above description applies, but with ``Matrix`` substituted for ``Vector``. For three-dimensional tests, substitute ``Tensor`` for -``Vector``. For the descriptions that follow, we will reference the -``Vector`` tests, but the same information applies to ``Matrix`` and -``Tensor`` tests. +``Vector``. For four-dimensional tests, substitute ``SuperTensor`` +for ``Vector``. +For the descriptions that follow, we will reference the +``Vector`` tests, but the same information applies to ``Matrix``, +``Tensor`` and ``SuperTensor`` tests. The command ``make test`` will ensure that all of the test software is built and then run all three test scripts. |