File indexing completed on 2024-04-28 15:14:10

0001 /***************************************************************************
0002     File                 : NSLDFTTest.h
0003     Project              : LabPlot
0004     Description          : NSL Tests for DFT
0005     --------------------------------------------------------------------
0006     Copyright            : (C) 2019 Stefan Gerlach (stefan.gerlach@uni.kn)
0007  ***************************************************************************/
0008 
0009 /***************************************************************************
0010  *                                                                         *
0011  *  This program is free software; you can redistribute it and/or modify   *
0012  *  it under the terms of the GNU General Public License as published by   *
0013  *  the Free Software Foundation; either version 2 of the License, or      *
0014  *  (at your option) any later version.                                    *
0015  *                                                                         *
0016  *  This program is distributed in the hope that it will be useful,        *
0017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
0018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
0019  *  GNU General Public License for more details.                           *
0020  *                                                                         *
0021  *   You should have received a copy of the GNU General Public License     *
0022  *   along with this program; if not, write to the Free Software           *
0023  *   Foundation, Inc., 51 Franklin Street, Fifth Floor,                    *
0024  *   Boston, MA  02110-1301  USA                                           *
0025  *                                                                         *
0026  ***************************************************************************/
0027 #ifndef NSLDFTTEST_H
0028 #define NSLDFTTEST_H
0029 
0030 #include "../NSLTest.h"
0031 
0032 class NSLDFTTest : public NSLTest {
0033     Q_OBJECT
0034 
0035 private slots:
0036     // one sided
0037     void testOnesided_real();
0038     void testOnesided_imag();
0039     void testOnesided_magnitude();
0040     void testOnesided_amplitude();
0041     void testOnesided_power();
0042     void testOnesided_phase();
0043     void testOnesided_dB();
0044     void testOnesided_squaremagnitude();
0045     void testOnesided_squareamplitude();
0046     void testOnesided_normdB();
0047     // two sided
0048     void testTwosided_real();
0049     void testTwosided_imag();
0050     void testTwosided_magnitude();
0051     void testTwosided_amplitude();
0052     void testTwosided_power();
0053     void testTwosided_phase();
0054     void testTwosided_dB();
0055     void testTwosided_squaremagnitude();
0056     void testTwosided_squareamplitude();
0057     void testTwosided_normdB();
0058     // performance
0059     void testPerformance_onesided();
0060     void testPerformance_twosided();
0061 private:
0062     QString m_dataDir;
0063 };
0064 #endif