Friday, July 25, 2014

numpy and testing

Numpy has some great builtins for running unit tests under
numpy.testing
. There are routines for comparing arrays that come in handy for tests. Many of these have verbose settings that give useful details in a thoughtful format for chasing down why a test failed.

No comments:

Post a Comment