00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _QA_CONVOLUTIONAL_INTERLEAVER_H_
00024 #define _QA_CONVOLUTIONAL_INTERLEAVER_H_
00025
00026 #include <cppunit/extensions/HelperMacros.h>
00027 #include <cppunit/TestCase.h>
00028
00029 #include <convolutional_interleaver.h>
00030
00031 class qa_convolutional_interleaver : public CppUnit::TestCase {
00032 private:
00033 convolutional_interleaver<int> *intl;
00034 convolutional_interleaver<int> *deintl;
00035
00036 CPPUNIT_TEST_SUITE (qa_convolutional_interleaver);
00037 CPPUNIT_TEST (t0);
00038 CPPUNIT_TEST (t1);
00039 CPPUNIT_TEST (t2);
00040 CPPUNIT_TEST (t3);
00041 CPPUNIT_TEST (t4);
00042 CPPUNIT_TEST_SUITE_END ();
00043
00044 public:
00045
00046 void setUp (){
00047 intl = 0;
00048 deintl = 0;
00049 }
00050
00051 void tearDown (){
00052 delete intl;
00053 intl = 0;
00054 delete deintl;
00055 deintl = 0;
00056 }
00057
00058 private:
00059
00060 void t0 ();
00061 void t1 ();
00062 void t2 ();
00063 void t3 ();
00064 void t4 ();
00065
00066 };
00067
00068
00069 #endif