Main.cc

Go to the documentation of this file.
00001 
00002 //
00003 //  $Id: Main.cc 632 2011-02-25 16:36:23Z weegreenblobbie $
00004 //
00005 //  Copyright (c) 2005-2006 Nick Hilton
00006 //
00007 //  weegreenblobbie_yahoo_com (replace '_' with '@' and '.')
00008 //
00010 
00012 //
00013 //  This program is free software; you can redistribute it and/or modify
00014 //  it under the terms of the GNU General Public License as published by
00015 //  the Free Software Foundation; either version 2 of the License, or
00016 //  (at your option) any later version.
00017 //
00018 //  This program is distributed in the hope that it will be useful,
00019 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021 //  GNU Library General Public License for more details.
00022 //
00023 //  You should have received a copy of the GNU General Public License
00024 //  along with this program; if not, write to the Free Software
00025 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00026 //
00028 
00029 #include <Nsound/Plotter.h>
00030 
00031 #include "UnitTest.h"
00032 
00033 #include <iostream>
00034 
00035 using std::cerr;
00036 using std::cout;
00037 using std::endl;
00038 using std::flush;
00039 
00040 int main(int argc, char ** argv)
00041 {
00042     cout << "////////////////////////////////////////////////////////////"
00043          << endl
00044          << "// Testing the Nsound release ..."
00045          << endl
00046          << flush;
00047 
00048      Wavefile_UnitTest();
00049 
00050      Buffer_UnitTest();
00051      BufferResample_UnitTest();
00052 
00053      DelayLine_UnitTest();
00054 
00055      FilterDelay_UnitTest();
00056 
00057      FilterCombLowPassFeedback_UnitTest();
00058 
00059      FilterLowPassFIR_UnitTest();
00060      FilterHighPassFIR_UnitTest();
00061      FilterBandRejectFIR_UnitTest();
00062      FilterBandPassFIR_UnitTest();
00063 
00064      FilterLowPassIIR_UnitTest();
00065      FilterHighPassIIR_UnitTest();
00066      FilterBandPassIIR_UnitTest();
00067      FilterBandRejectIIR_UnitTest();
00068 
00069      FilterLeastSquaresFIR_UnitTest();
00070 
00071      FilterParametricEqualizer_UnitTest();
00072 
00073     Generator_UnitTest();
00074     Sine_UnitTest();
00075      Triangle_UnitTest();
00076 
00077      FFTransform_UnitTest();
00078 
00079     Nsound::Plotter::show();
00080 
00081     cout << endl
00082          << "All Unit Tests Passed!"
00083          << endl;
00084 
00085     return 0;
00086 }
00087 
Generated on Sun Apr 15 20:10:06 2012 for nsound by  doxygen 1.6.3