Skip to main content

Timeline for How to test the FIR filter in C++?

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Nov 1, 2020 at 21:00 history tweeted twitter.com/StackSignals/status/1323006911885807619
Nov 1, 2020 at 15:33 history edited Matt L.
edited tags
Feb 24, 2015 at 5:21 vote accept PsychedGuy
Feb 23, 2015 at 11:08 comment added Damien the unit test referred to above is a software engineering technique. The unit impulse is a mathematical construct. The unit test will ensure you have implemented the software correctly. The unit impulse will ensure you have created the filter has the properties that you want.
Feb 23, 2015 at 8:36 comment added PsychedGuy @Damien,I will start with unit impulse testing and then have a look at Matlab and Octave on how to use them. Thank you for the direction.
Feb 23, 2015 at 8:29 comment added Damien HOWEVER! This does not validate your requirements to whether the filter gives the correct frequency response. Since the filter is an FIR, it is relatively easy to test using something like MATLAB or Octave.
Feb 23, 2015 at 8:26 comment added Damien An FIR filter is deterministic; it will generate a precise output for a given input. Therefore, you can verify that the C++ code is generating the correct output using a unit test framework. There are plenty to choose from (e.g. Boost Test, Cppunit, see Unit testing on wikipedia )
Feb 23, 2015 at 8:24 comment added PsychedGuy Nope. Is there an approach or possibility to testing FIR Filter (C++) using this framework?.
Feb 23, 2015 at 8:23 answer added Matt L. timeline score: 6
Feb 23, 2015 at 8:17 comment added Damien Are you using a unit test framework like Google Test?
Feb 23, 2015 at 8:03 history asked PsychedGuy CC BY-SA 3.0