File indexing completed on 2024-04-28 03:48:01

0001 /*
0002     File                 : CorrelationTest.h
0003     Project              : LabPlot
0004     Description          : Tests for data correlation
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2018 Stefan Gerlach <stefan.gerlach@uni.kn>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 #ifndef CORRELATIONTEST_H
0011 #define CORRELATIONTEST_H
0012 
0013 #include <../AnalysisTest.h>
0014 
0015 class CorrelationTest : public AnalysisTest {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     // linear tests
0020     void testLinear();
0021     void testLinear2();
0022     void testLinear_noX();
0023     void testLinear_swapped();
0024 
0025     // circular tests
0026     void testCircular();
0027     void testCircular2();
0028 
0029     // norm
0030     void testLinear_biased();
0031     void testLinear2_biased();
0032     void testLinear_unbiased();
0033     void testLinear2_unbiased();
0034     void testLinear_coeff();
0035     void testLinear2_coeff();
0036     void testCircular_coeff();
0037     void testCircular2_coeff();
0038 
0039     // sampling interval
0040     void testLinear_samplingInterval();
0041     void testLinear2_samplingInterval();
0042     void testCircular_samplingInterval();
0043     void testCircular2_samplingInterval();
0044 
0045     void testPerformance();
0046 };
0047 #endif