Skip to content

Commit

Permalink
SWIG testing: clarify location and number of tests
Browse files Browse the repository at this point in the history
SWIG interface has moved to tools/ directory, so updating the doc to state that
and also the number of tests is reduced since what reported, so a generic "more
than" is used (to avoid similar situations in the future) but likely also the
other numbers should be checked.
  • Loading branch information
sandrotosi committed Feb 8, 2015
1 parent 3fdce81 commit 4cccb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/reference/swig.testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ 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,427 individual unit tests that are performed when
``make test`` is run in the ``numpy/docs/swig`` subdirectory.
this results in more than 1,000 individual unit tests executed when
``make test`` is run in the ``numpy/tools/swig`` subdirectory.

To facilitate this many similar unit tests, some high-level
programming techniques are employed, including C and `SWIG`_ macros,
Expand Down

0 comments on commit 4cccb9b

Please sign in to comment.