Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / lib / filter / qa_gr_fir_ccf.cc
index 1af7c91fc458237a31eeaa58277b03c0f4340469..6bb63f240670aecec69ea2319d34406969506f04 100644 (file)
@@ -47,6 +47,7 @@ typedef       gr_complex      acc_type;
 #include <cppunit/TestAssert.h>
 #include <random.h>
 #include <malloc16.h>
+#include <string.h>
 
 using std::vector;
 
@@ -147,8 +148,8 @@ test_random_io (fir_maker_t maker)
       // 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;