Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / lib / filter / qa_gr_fir_ccc.cc
index 7c0003c1f9b64a9781b9117be910921c8dc1c9fc..52f3340a9e6c6f02ad80f0aafe43270e6e112be1 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;
 
@@ -148,9 +149,9 @@ 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;