Jamoma API  0.6.0.a19
TTSpatDBAP.test.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspSpatLib
4  *
5  * @brief Unit tests for the #TTSpatDBAP SpatLib spatialisation renderer.
6  *
7  * @details
8  *
9  * @authors Trond Lossius, Nils Peters, Timothy Place
10  *
11  * @copyright Copyright © 2011 by Trond Lossius, Nils Peters, and Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #include "TTDSP.h"
18 #include "TTSpatDBAP.h"
19 
20 
21 TTErr TTSpatDBAP::test(TTValue& aReturnedTestInfo)
22 {
23  // preliminary setup
24  int errorCount = 0;
25  int testAssertionCount = 0;
26 
27 
28  // TODO: implement unit tests for DBAP
29 
30  // Wrap up the test results to pass back to whoever called this test
31  return TTTestFinish(testAssertionCount, errorCount, aReturnedTestInfo);
32 }
virtual TTErr test(TTValue &aReturnedTestInfo)
Unit Tests.
Jamoma DSP Library.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34
Jamoma DSP SpatLib unit based on Distance-based amplitude panning (DBAP)