summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python
diff options
context:
space:
mode:
authorTom Rondeau2012-02-04 11:05:25 -0500
committerTom Rondeau2012-02-13 14:56:39 -0500
commit47c390286d49e00498a3443a3dcb9f83d11c7ecc (patch)
treef5379c23b2ae1735bac9ea361ef202e01aba59da /gnuradio-core/src/python
parentf028a198cb47e0486ad41a29bd3b3dcf0663d766 (diff)
downloadgnuradio-47c390286d49e00498a3443a3dcb9f83d11c7ecc.tar.gz
gnuradio-47c390286d49e00498a3443a3dcb9f83d11c7ecc.tar.bz2
gnuradio-47c390286d49e00498a3443a3dcb9f83d11c7ecc.zip
core: new multiply_const_ff and multiply_ff blocks done using Volk.
Diffstat (limited to 'gnuradio-core/src/python')
-rwxr-xr-xgnuradio-core/src/python/gnuradio/gr/qa_add_and_friends.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_add_and_friends.py b/gnuradio-core/src/python/gnuradio/gr/qa_add_and_friends.py
index aad57e580..e3b20c3c3 100755
--- a/gnuradio-core/src/python/gnuradio/gr/qa_add_and_friends.py
+++ b/gnuradio-core/src/python/gnuradio/gr/qa_add_and_friends.py
@@ -112,6 +112,14 @@ class test_add_and_friends (gr_unittest.TestCase):
self.help_ii ((src1_data, src2_data),
expected_result, op)
+ def test_mult_ff (self):
+ src1_data = (1, 2, 3, 4, 5)
+ src2_data = (8, -3, 4, 8, 2)
+ expected_result = (8, -6, 12, 32, 10)
+ op = gr.multiply_ff ()
+ self.help_ff ((src1_data, src2_data),
+ expected_result, op)
+
def test_mult_cc (self):
src1_data = (1+1j, 2+2j, 3+3j, 4+4j, 5+5j)
src2_data = (8, -3, 4, 8, 2)