|
| | FFTUnitTest () |
| template<class TheTest> |
| void | runTestForAllTypes (const char *unitTestName) |
| void | runTest () override |
| | UnitTest (const String &name, const String &category=String()) |
| virtual | ~UnitTest () |
| const String & | getName () const noexcept |
| const String & | getCategory () const noexcept |
| void | performTest (UnitTestRunner *runner) |
| virtual void | initialise () |
| virtual void | shutdown () |
| void | beginTest (const String &testName) |
| void | expect (bool testResult, const String &failureMessage=String()) |
| template<class ValueType> |
| void | expectEquals (ValueType actual, ValueType expected, String failureMessage=String()) |
| template<class ValueType> |
| void | expectNotEquals (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectGreaterThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectLessThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectGreaterOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectLessOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String()) |
| template<class ValueType> |
| void | expectWithinAbsoluteError (ValueType actual, ValueType expected, ValueType maxAbsoluteError, String failureMessage=String()) |
| void | logMessage (const String &message) |
| Random | getRandom () const |
|
| static void | fillRandom (Random &random, Complex< float > *buffer, size_t n) |
| static void | fillRandom (Random &random, float *buffer, size_t n) |
| static Complex< float > | freqConvolution (const Complex< float > *in, float freq, size_t n) |
| static void | performReferenceFourier (const Complex< float > *in, Complex< float > *out, size_t n, bool reverse) |
| static void | performReferenceFourier (const float *in, Complex< float > *out, size_t n, bool reverse) |
| template<typename Type> |
| static bool | checkArrayIsSimilar (Type *a, Type *b, size_t n) noexcept |
| static Array< UnitTest * > & | getAllTests () |
| static Array< UnitTest * > | getTestsInCategory (const String &category) |
| static StringArray | getAllCategories () |
◆ FFTUnitTest()
| juce::dsp::FFTUnitTest::FFTUnitTest |
( |
| ) |
|
|
inline |
◆ checkArrayIsSimilar()
template<typename Type>
| bool juce::dsp::FFTUnitTest::checkArrayIsSimilar |
( |
Type * | a, |
|
|
Type * | b, |
|
|
size_t | n ) |
|
inlinestaticnoexcept |
◆ fillRandom() [1/2]
| void juce::dsp::FFTUnitTest::fillRandom |
( |
Random & | random, |
|
|
Complex< float > * | buffer, |
|
|
size_t | n ) |
|
inlinestatic |
◆ fillRandom() [2/2]
| void juce::dsp::FFTUnitTest::fillRandom |
( |
Random & | random, |
|
|
float * | buffer, |
|
|
size_t | n ) |
|
inlinestatic |
◆ freqConvolution()
| Complex< float > juce::dsp::FFTUnitTest::freqConvolution |
( |
const Complex< float > * | in, |
|
|
float | freq, |
|
|
size_t | n ) |
|
inlinestatic |
◆ performReferenceFourier() [1/2]
| void juce::dsp::FFTUnitTest::performReferenceFourier |
( |
const Complex< float > * | in, |
|
|
Complex< float > * | out, |
|
|
size_t | n, |
|
|
bool | reverse ) |
|
inlinestatic |
◆ performReferenceFourier() [2/2]
| void juce::dsp::FFTUnitTest::performReferenceFourier |
( |
const float * | in, |
|
|
Complex< float > * | out, |
|
|
size_t | n, |
|
|
bool | reverse ) |
|
inlinestatic |
◆ runTest()
| void juce::dsp::FFTUnitTest::runTest |
( |
| ) |
|
|
inlineoverridevirtual |
Implement this method in your subclass to actually run your tests.
The content of your implementation should call beginTest() and expect() to perform the tests.
Implements juce::UnitTest.
◆ runTestForAllTypes()
template<class TheTest>
| void juce::dsp::FFTUnitTest::runTestForAllTypes |
( |
const char * | unitTestName | ) |
|
|
inline |
The documentation for this struct was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_dsp/frequency/juce_FFT_test.cpp