#include <cmath>
#include <cppunit/TestAssert.h>
#include <random.h>
+#include <string.h>
using std::vector;
static void
test_random_io (fir_maker_t maker)
{
- const int MAX_TAPS = 9;
+ const int MAX_TAPS = 32;
const int OUTPUT_LEN = 17;
const int INPUT_LEN = MAX_TAPS + OUTPUT_LEN;
for (int o = 0; o < ol; o++){
CPPUNIT_ASSERT_DOUBLES_EQUAL (expected_output[o], actual_output[o],
- fabs (expected_output[o]) * 1e-4);
+ fabs (expected_output[o]) * 9e-3);
}
delete f1;