tests module

This module will collect tools for unit testing the functions in the FreqDemod package. Unit tests were developed using the unittest package. To run the unit tests, open up a terminal in the FreqDemod directory and run either:

python -m unittest discover 
(or python -m unittest discover --verbose)

or:

nosetests
(or nosetests -v
 or notetests -sv)

In some of the unit tests, we compare two numpy arrays. In developing this comparison we found the stackoverflow discussion “Comparing numpy float arrays in unit tests” helpful [link].

tests.test_hdf5 module

tests.test_freqdemod module