a Fixture to do general plug.in testing More...
#include <mia/template/filtertest.hh>
Public Member Functions | |
| template<typename Filter , typename IN , typename OUT > | |
| void | run (const dimsize_type &in_size, const IN *init_data, const dimsize_type &out_size, const OUT *test_data, const Filter &f) |
| TFiltertestFixture () | |
a Fixture to do general plug.in testing
This filter test class runs given filter and tests whether the expected result is obtained and a test attribute is passed on.
Definition at line 39 of file template/filtertest.hh.
|
inline |
Definition at line 43 of file template/filtertest.hh.
|
inline |
| the | filter to test |
| the | input pixel type |
| the | expected output pixel type |
| in_size | size of the input image |
| init_data | input data array |
| out_size | size of the expected output image |
| test_data | expected data |
| f | filter to run |
Definition at line 58 of file template/filtertest.hh.
References cvfail(), and NS_MIA_END.