Nsound
0.9.4
Main Page
Namespaces
Classes
Files
File List
File Members
test
Main.cc
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
//
3
// $Id: Main.cc 874 2014-09-08 02:21:29Z weegreenblobbie $
4
//
5
// Copyright (c) 2005-2006 Nick Hilton
6
//
7
// weegreenblobbie_yahoo_com (replace '_' with '@' and '.')
8
//
9
//-----------------------------------------------------------------------------
10
11
//-----------------------------------------------------------------------------
12
//
13
// This program is free software; you can redistribute it and/or modify
14
// it under the terms of the GNU General Public License as published by
15
// the Free Software Foundation; either version 2 of the License, or
16
// (at your option) any later version.
17
//
18
// This program is distributed in the hope that it will be useful,
19
// but WITHOUT ANY WARRANTY; without even the implied warranty of
20
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
// GNU Library General Public License for more details.
22
//
23
// You should have received a copy of the GNU General Public License
24
// along with this program; if not, write to the Free Software
25
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
//
27
//-----------------------------------------------------------------------------
28
29
#include <
Nsound/Plotter.h
>
30
31
#include "
UnitTest.h
"
32
33
#include <iostream>
34
35
using
std::cerr;
36
using
std::cout;
37
using
std::endl;
38
using
std::flush;
39
40
int
main
(
int
argc,
char
** argv)
41
{
42
cout <<
"////////////////////////////////////////////////////////////"
43
<< endl
44
<<
"// Testing the Nsound release ..."
45
<< endl
46
<< flush;
47
48
Wavefile_UnitTest
();
49
50
Buffer_UnitTest
();
51
BufferResample_UnitTest
();
52
53
DelayLine_UnitTest
();
54
55
FilterDelay_UnitTest
();
56
57
FilterCombLowPassFeedback_UnitTest
();
58
59
FilterLeastSquaresFIR_UnitTest
();
60
61
FilterParametricEqualizer_UnitTest
();
62
63
Generator_UnitTest
();
64
Sine_UnitTest
();
65
Triangle_UnitTest
();
66
67
FFTransform_UnitTest
();
68
69
Nsound::Plotter::show
();
70
71
cout << endl
72
<<
"All Unit Tests Passed!"
73
<< endl;
74
75
return
0;
76
}
FilterLeastSquaresFIR_UnitTest
void FilterLeastSquaresFIR_UnitTest()
Definition:
FilterLeastSquaresFIR_UnitTest.cc:54
Buffer_UnitTest
void Buffer_UnitTest()
Definition:
Buffer_UnitTest.cc:48
Nsound::Plotter::show
static void show()
Acutally draw the plots to the screen.
Definition:
Plotter.cc:252
Triangle_UnitTest
void Triangle_UnitTest()
Definition:
Triangle_UnitTest.cc:51
main
int main(int argc, char **argv)
Definition:
Main.cc:40
DelayLine_UnitTest
void DelayLine_UnitTest()
Definition:
DelayLine_UnitTest.cc:55
FilterParametricEqualizer_UnitTest
void FilterParametricEqualizer_UnitTest()
Definition:
FilterParametricEqualizer_UnitTest.cc:52
Sine_UnitTest
void Sine_UnitTest()
Definition:
Sine_UnitTest.cc:51
FilterCombLowPassFeedback_UnitTest
void FilterCombLowPassFeedback_UnitTest()
Definition:
FilterCombLowPassFeedback_UnitTest.cc:55
Generator_UnitTest
void Generator_UnitTest()
Definition:
Generator_UnitTest.cc:52
UnitTest.h
Wavefile_UnitTest
void Wavefile_UnitTest()
Definition:
Wavefile_UnitTest.cc:54
FFTransform_UnitTest
void FFTransform_UnitTest()
Definition:
FFTransform_UnitTest.cc:53
Plotter.h
FilterDelay_UnitTest
void FilterDelay_UnitTest()
Definition:
FilterDelay_UnitTest.cc:52
BufferResample_UnitTest
void BufferResample_UnitTest()
Definition:
BufferResample_UnitTest.cc:52
Generated on Sun Aug 23 2015 11:51:50 for Nsound by
1.8.6