diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-06-13 01:51:48 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-06-17 06:38:27 -0400 |
commit | a29f87eacc202a6c0f782f54e335a3f02dfdb6d4 (patch) | |
tree | 6309286d893254d2288225570bb664ab5b91b5d3 /gnuradio-runtime/lib/math/qa_math.cc | |
parent | d45392e5eb24b08e35f1fc6058999c3318b73cf9 (diff) |
runtime/math QA: remove orphaned debug printfs
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/lib/math/qa_math.cc')
-rw-r--r-- | gnuradio-runtime/lib/math/qa_math.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gnuradio-runtime/lib/math/qa_math.cc b/gnuradio-runtime/lib/math/qa_math.cc index 8763c9f09e..0b4250097c 100644 --- a/gnuradio-runtime/lib/math/qa_math.cc +++ b/gnuradio-runtime/lib/math/qa_math.cc @@ -10,7 +10,6 @@ #include <gnuradio/math.h> #include <boost/test/unit_test.hpp> #include <cmath> -#include <cstdio> BOOST_AUTO_TEST_CASE(test_binary_slicer1) { @@ -18,19 +17,13 @@ BOOST_AUTO_TEST_CASE(test_binary_slicer1) unsigned int z[5] = { 0, 0, 1, 1, 1 }; unsigned int y; - // printf("\nBinary\n"); for (unsigned int i = 0; i < 5; i++) { y = gr::binary_slicer(x[i]); - // printf("in: %f out: %d desired: %d\n", x[i], y, z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } - // printf("\nBranchless Binary\n"); for (unsigned int i = 0; i < 5; i++) { y = gr::branchless_binary_slicer(x[i]); - // printf("in: %f out: %d desired: %d\n", x[i], y, z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } } @@ -44,21 +37,13 @@ BOOST_AUTO_TEST_CASE(test_quad_0deg_slicer1) unsigned int z[4] = { 0, 1, 2, 3 }; unsigned int y; - // printf("\nQuad0\n"); for (unsigned int i = 0; i < 4; i++) { y = gr::quad_0deg_slicer(x[i]); - // printf("in: %.4f+j%.4f out: %d desired: %d\n", x[i].real(), x[i].imag(), y, - // z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } - // printf("\nBranchless Quad0\n"); for (unsigned int i = 0; i < 4; i++) { y = gr::branchless_quad_0deg_slicer(x[i]); - // printf("in: %.4f+j%.4f out: %d desired: %d\n", x[i].real(), x[i].imag(), y, - // z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } } @@ -73,21 +58,13 @@ BOOST_AUTO_TEST_CASE(test_quad_45deg_slicer1) unsigned int z[4] = { 0, 1, 2, 3 }; unsigned int y; - // printf("\nQuad45\n"); for (unsigned int i = 0; i < 4; i++) { y = gr::quad_45deg_slicer(x[i]); - // printf("in: %.4f+j%.4f out: %d desired: %d\n", x[i].real(), x[i].imag(), y, - // z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } - // printf("\nBranchless Quad45\n"); for (unsigned int i = 0; i < 4; i++) { y = gr::branchless_quad_45deg_slicer(x[i]); - // printf("in: %.4f+j%.4f out: %d desired: %d\n", x[i].real(), x[i].imag(), y, - // z[i]); - BOOST_CHECK_EQUAL(y, z[i]); } } |