00001 #ifndef TEST_CORRELATION_H
00002 #define TEST_CORRELATION_H
00003
00004 #include <QObject>
00005
00007 class TestCorrelation : public QObject
00008 {
00009 Q_OBJECT
00010 public:
00012 explicit TestCorrelation(QObject *parent = 0);
00013
00014 signals:
00015
00016 private slots:
00017 void cleanupTestCase ();
00018 void initTestCase ();
00019 void loadSinusoid (double function [],
00020 int n,
00021 int center) const;
00022 void loadThreeTriangles (double function [],
00023 int n,
00024 int center) const;
00025
00026 void testShiftSinusoidNonPowerOf2 ();
00027 void testShiftSinusoidPowerOf2 ();
00028 void testShiftThreeTrianglesNonPowerOf2 ();
00029 void testShiftThreeTrianglesPowerOf2 ();
00030
00031 private:
00032
00033 };
00034
00035 #endif // TEST_CORRELATION_H