summaryrefslogtreecommitdiff
path: root/doc/source/reference/swig.testing.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/reference/swig.testing.rst')
-rw-r--r--doc/source/reference/swig.testing.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/source/reference/swig.testing.rst b/doc/source/reference/swig.testing.rst
index 4aad6bff7..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 23 different argument signatures,
-for a total of 276 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,020 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.