summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Müller <marcus@hostalia.de>2018-08-25 22:57:26 +0200
committerMarcus Müller <marcus@hostalia.de>2018-08-27 18:58:03 +0200
commit837340aa23db98d36cf2a4e470aec9d1bbdae4f4 (patch)
treeb557dcbb1dca884cf2bf4e92f8586eaf47a8fdc0
parent79d6f970996aafd160fea4bcb519a54d846f0aa1 (diff)
Removed unused complex_vec_test
doesn't seem to be a test fixture of any kind(?)
-rw-r--r--gnuradio-runtime/lib/CMakeLists.txt1
-rw-r--r--gnuradio-runtime/lib/complex_vec_test.cc82
-rw-r--r--gnuradio-runtime/lib/complex_vec_test.h50
-rw-r--r--gnuradio-runtime/swig/CMakeLists.txt1
-rw-r--r--gnuradio-runtime/swig/complex_vec_test.i25
5 files changed, 0 insertions, 159 deletions
diff --git a/gnuradio-runtime/lib/CMakeLists.txt b/gnuradio-runtime/lib/CMakeLists.txt
index 4fd5a610f6..7cd5920538 100644
--- a/gnuradio-runtime/lib/CMakeLists.txt
+++ b/gnuradio-runtime/lib/CMakeLists.txt
@@ -80,7 +80,6 @@ list(APPEND gnuradio_runtime_sources
block_registry.cc
buffer.cc
circular_file.cc
- complex_vec_test.cc
feval.cc
flat_flowgraph.cc
flowgraph.cc
diff --git a/gnuradio-runtime/lib/complex_vec_test.cc b/gnuradio-runtime/lib/complex_vec_test.cc
deleted file mode 100644
index 99acc2f355..0000000000
--- a/gnuradio-runtime/lib/complex_vec_test.cc
+++ /dev/null
@@ -1,82 +0,0 @@
-#include <complex_vec_test.h>
-#include <stddef.h>
-
-std::vector<std::complex<float> >
-complex_vec_test0()
-{
- std::vector<std::complex<float> > r(5);
-
- for (size_t i = 0; i < r.size(); i++)
- r[i] = std::complex<float>(i, i);
-
- return r;
-}
-
-std::vector<std::complex<float> >
-complex_vec_test1(const std::vector<std::complex<float> > &input)
-{
- std::vector<std::complex<float> > r(input.size());
-
- for (size_t i = 0; i < input.size(); i++)
- r[i] = std::complex<float>(input[i].real()+0.5, input[i].imag()-0.5);
-
- return r;
-}
-
-std::complex<float>
-complex_scalar_test0()
-{
- return std::complex<float>(5, 5);
-}
-
-std::complex<float>
-complex_scalar_test1(std::complex<float> input)
-{
- return std::complex<float>(input.real()+0.5, input.imag()-0.5);
-}
-
-
-std::vector<float>
-float_vec_test0()
-{
- std::vector<float> r(5);
-
- for (size_t i = 0; i < r.size(); i++)
- r[i] = (float) i;
-
- return r;
-}
-
-std::vector<float>
-float_vec_test1(const std::vector<float> &input)
-{
- std::vector<float> r(input.size());
-
- for (size_t i = 0; i < input.size(); i++)
- r[i] = input[i] + 0.5;
-
- return r;
-}
-
-std::vector<int>
-int_vec_test0()
-{
- std::vector<int> r(5);
-
- for (size_t i = 0; i < r.size(); i++)
- r[i] = (int) i;
-
- return r;
-}
-
-std::vector<int>
-int_vec_test1(const std::vector<int> &input)
-{
- std::vector<int> r(input.size());
-
- for (size_t i = 0; i < input.size(); i++)
- r[i] = input[i] + 1;
-
- return r;
-}
-
diff --git a/gnuradio-runtime/lib/complex_vec_test.h b/gnuradio-runtime/lib/complex_vec_test.h
deleted file mode 100644
index d69d523374..0000000000
--- a/gnuradio-runtime/lib/complex_vec_test.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/* -*- c++ -*- */
-/*
- * Copyright 2013 Free Software Foundation, Inc.
- *
- * This file is part of GNU Radio
- *
- * GNU Radio is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3, or (at your option)
- * any later version.
- *
- * GNU Radio is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GNU Radio; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street,
- * Boston, MA 02110-1301, USA.
- */
-
-#include <gnuradio/api.h>
-#include <vector>
-#include <complex>
-
-GR_RUNTIME_API std::vector<std::complex<float> >
-complex_vec_test0();
-
-GR_RUNTIME_API std::vector<std::complex<float> >
-complex_vec_test1(const std::vector<std::complex<float> > &input);
-
-GR_RUNTIME_API std::complex<float>
-complex_scalar_test0();
-
-GR_RUNTIME_API std::complex<float>
-complex_scalar_test1(std::complex<float> input);
-
-GR_RUNTIME_API std::vector<int>
-int_vec_test0();
-
-GR_RUNTIME_API std::vector<int>
-int_vec_test1(const std::vector<int> &input);
-
-GR_RUNTIME_API std::vector<float>
-float_vec_test0();
-
-GR_RUNTIME_API std::vector<float>
-float_vec_test1(const std::vector<float> &input);
-
diff --git a/gnuradio-runtime/swig/CMakeLists.txt b/gnuradio-runtime/swig/CMakeLists.txt
index 9135f311c6..3b9e89eab0 100644
--- a/gnuradio-runtime/swig/CMakeLists.txt
+++ b/gnuradio-runtime/swig/CMakeLists.txt
@@ -86,7 +86,6 @@ install(
block_detail.i
block_gateway.i
buffer.i
- complex_vec_test.i
constants.i
feval.i
gnuradio.i
diff --git a/gnuradio-runtime/swig/complex_vec_test.i b/gnuradio-runtime/swig/complex_vec_test.i
deleted file mode 100644
index 4b95633be7..0000000000
--- a/gnuradio-runtime/swig/complex_vec_test.i
+++ /dev/null
@@ -1,25 +0,0 @@
-
-std::vector<std::complex<float> >
-complex_vec_test0();
-
-std::vector<std::complex<float> >
-complex_vec_test1(const std::vector<std::complex<float> > &input);
-
-std::complex<float>
-complex_scalar_test0();
-
-std::complex<float>
-complex_scalar_test1(std::complex<float> input);
-
-std::vector<int>
-int_vec_test0();
-
-std::vector<int>
-int_vec_test1(const std::vector<int> &input);
-
-std::vector<float>
-float_vec_test0();
-
-std::vector<float>
-float_vec_test1(const std::vector<float> &input);
-