summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/pmt/qa_pmt.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/python/pmt/qa_pmt.py')
-rwxr-xr-xgnuradio-runtime/python/pmt/qa_pmt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-runtime/python/pmt/qa_pmt.py b/gnuradio-runtime/python/pmt/qa_pmt.py
index 5c1af2c00e..32cff62f44 100755
--- a/gnuradio-runtime/python/pmt/qa_pmt.py
+++ b/gnuradio-runtime/python/pmt/qa_pmt.py
@@ -36,7 +36,9 @@ class test_pmt(unittest.TestCase):
const = 123765
x_pmt = pmt.from_double(const)
x_int = pmt.to_double(x_pmt)
+ x_float = pmt.to_float(x_pmt)
self.assertEqual(x_int, const)
+ self.assertEqual(x_float, const)
def test03(self):
v = pmt.init_f32vector(3, [11, -22, 33])