FFT_tools: add LOG and rework tests to use self.assert...().
authorW. Trevor King <wking@tremily.us>
Mon, 19 Nov 2012 06:38:46 +0000 (01:38 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 19 Nov 2012 06:38:46 +0000 (01:38 -0500)
commit217680246794065fa4130a2a20900e06592ceb11
tree42faf5cea92fcef2fa9c565e4bc39a53b1b5db7a
parent082e5efca5e44421a9ee105338a92fc276f9d582
FFT_tools: add LOG and rework tests to use self.assert...().

Now you don't need to compare expected-vs-actual by hand.  The
troublesome

  self.run_sin(sin_freq=1, samp_freq=1024, samples=2048)

case is handled by explicitly making a very fuzzy comparison.

This gets rid of all the print() statements.
FFT_tools.py