00001 /* -*- c++ -*- */ 00002 /* 00003 * Copyright 2002 Free Software Foundation, Inc. 00004 * 00005 * This file is part of GNU Radio 00006 * 00007 * GNU Radio is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 3, or (at your option) 00010 * any later version. 00011 * 00012 * GNU Radio is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with GNU Radio; see the file COPYING. If not, write to 00019 * the Free Software Foundation, Inc., 51 Franklin Street, 00020 * Boston, MA 02110-1301, USA. 00021 */ 00022 #ifndef _QA_ATSC_FS_CORRELATOR_H_ 00023 #define _QA_ATSC_FS_CORRELATOR_H_ 00024 00025 #include <cppunit/extensions/HelperMacros.h> 00026 #include <cppunit/TestCase.h> 00027 00028 class atsci_fs_correlator; 00029 00030 class qa_atsci_fs_correlator : public CppUnit::TestCase { 00031 private: 00032 atsci_fs_correlator *fsc; 00033 00034 public: 00035 00036 void setUp (); 00037 void tearDown (); 00038 00039 CPPUNIT_TEST_SUITE (qa_atsci_fs_correlator); 00040 CPPUNIT_TEST (t0); 00041 CPPUNIT_TEST (t1); 00042 CPPUNIT_TEST (t2); 00043 CPPUNIT_TEST (t3); 00044 CPPUNIT_TEST (t4); 00045 CPPUNIT_TEST_SUITE_END (); 00046 00047 private: 00048 00049 void util (int which_field, int nerr1, int nerr2); 00050 00051 void t0 (); 00052 void t1 (); 00053 void t2 (); 00054 void t3 (); 00055 void t4 (); 00056 }; 00057 00058 #endif /* _QA_ATSC_FS_CORRELATOR_H_ */