projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Channelizer can now produce any rational ratio of the sample rate in [fs/N, fs]...
[debian/gnuradio]
/
gnuradio-core
/
src
/
lib
/
filter
/
qa_gr_fir_ccc.cc
diff --git
a/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc
b/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc
index 9c70a1677567f3f18b1d4b1b0439ee2582e96104..52f3340a9e6c6f02ad80f0aafe43270e6e112be1 100644
(file)
--- a/
gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc
+++ b/
gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc
@@
-6,7
+6,7
@@
*
* 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
*
* 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
2
, or (at your option)
+ * 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,
* any later version.
*
* GNU Radio is distributed in the hope that it will be useful,
@@
-16,8
+16,8
@@
*
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
*
* 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., 5
9 Temple Place - Suite 330
,
- * Boston, MA 0211
1-1307
, USA.
+ * the Free Software Foundation, Inc., 5
1 Franklin Street
,
+ * Boston, MA 0211
0-1301
, USA.
*/
/*
*/
/*
@@
-47,6
+47,7
@@
typedef gr_complex acc_type;
#include <cppunit/TestAssert.h>
#include <random.h>
#include <malloc16.h>
#include <cppunit/TestAssert.h>
#include <random.h>
#include <malloc16.h>
+#include <string.h>
using std::vector;
using std::vector;
@@
-148,9
+149,9
@@
test_random_io (fir_maker_t maker)
// arithmetic.
for (int o = 0; o < ol; o++){
// arithmetic.
for (int o = 0; o < ol; o++){
-
ASSERT_COMPLEXES_EQUAL
(expected_output[o],
- actual_output[o],
- abs (expected_output[o]) * ERR_DELTA);
+
CPPUNIT_ASSERT_COMPLEXES_EQUAL
(expected_output[o],
+
actual_output[o],
+
abs (expected_output[o]) * ERR_DELTA);
}
delete f1;
}
delete f1;