diff options
author | Tom Rondeau | 2012-10-31 13:15:25 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-10-31 13:15:25 -0400 |
commit | 300f7b5313ff79d9f3d9c19e109e71ee608bea86 (patch) | |
tree | a608f07f4b1dc24e1fa4d6692a771db36b7ecc5f /gr-analog/python/qa_simple_squelch.py | |
parent | 54e947e394dcd2bbff2b49968adf7b0861f0851b (diff) | |
download | gnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.tar.gz gnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.tar.bz2 gnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.zip |
analog: adding pwr_squelch blocks to gr-analog with QA and GRC.
Diffstat (limited to 'gr-analog/python/qa_simple_squelch.py')
-rwxr-xr-x | gr-analog/python/qa_simple_squelch.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-analog/python/qa_simple_squelch.py b/gr-analog/python/qa_simple_squelch.py index 97deee06c..9fa112864 100755 --- a/gr-analog/python/qa_simple_squelch.py +++ b/gr-analog/python/qa_simple_squelch.py @@ -46,7 +46,6 @@ class test_simple_squelch(gr_unittest.TestCase): self.assertEqual(thr2, t) def test_simple_squelch_002(self): - # Test runtime, gate=True alpha = 0.0001 thr = -25 @@ -63,7 +62,7 @@ class test_simple_squelch(gr_unittest.TestCase): expected_result[0:20] = 20*[0,] result_data = dst.data() - self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4) + self.assertComplexTuplesAlmostEqual(expected_result, result_data, 4) if __name__ == '__main__': gr_unittest.run(test_simple_squelch, "test_simple_squelch.xml") |