File indexing completed on 2024-05-19 07:37:05
0001 /* 0002 File : NSLDFTTest.h 0003 Project : LabPlot 0004 Description : NSL Tests for DFT 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2019 Stefan Gerlach <stefan.gerlach@uni.kn> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 #ifndef NSLDFTTEST_H 0011 #define NSLDFTTEST_H 0012 0013 #include "../NSLTest.h" 0014 0015 class NSLDFTTest : public NSLTest { 0016 Q_OBJECT 0017 0018 private Q_SLOTS: 0019 // one sided 0020 void testOnesided_real(); 0021 void testOnesided_imag(); 0022 void testOnesided_magnitude(); 0023 void testOnesided_amplitude(); 0024 void testOnesided_power(); 0025 void testOnesided_phase(); 0026 void testOnesided_dB(); 0027 void testOnesided_squaremagnitude(); 0028 void testOnesided_squareamplitude(); 0029 void testOnesided_normdB(); 0030 // two sided 0031 void testTwosided_real(); 0032 void testTwosided_imag(); 0033 void testTwosided_magnitude(); 0034 void testTwosided_amplitude(); 0035 void testTwosided_power(); 0036 void testTwosided_phase(); 0037 void testTwosided_dB(); 0038 void testTwosided_squaremagnitude(); 0039 void testTwosided_squareamplitude(); 0040 void testTwosided_normdB(); 0041 // performance 0042 void testPerformance_onesided(); 0043 void testPerformance_twosided(); 0044 0045 private: 0046 QString m_dataDir; 0047 }; 0048 #endif