comparison base/test/svcore-base-test.cpp @ 1573:f04038819c26 spectrogramparam

Introduce & make use of faster MovingMedian class (now with resize capability)
author Chris Cannam
date Thu, 08 Nov 2018 15:02:30 +0000
parents 48e9f538e6e9
children a090221caeda
comparison
equal deleted inserted replaced
1572:c36ffc195988 1573:f04038819c26
17 #include "TestScaleTickIntervals.h" 17 #include "TestScaleTickIntervals.h"
18 #include "TestStringBits.h" 18 #include "TestStringBits.h"
19 #include "TestOurRealTime.h" 19 #include "TestOurRealTime.h"
20 #include "TestVampRealTime.h" 20 #include "TestVampRealTime.h"
21 #include "TestColumnOp.h" 21 #include "TestColumnOp.h"
22 #include "TestMovingMedian.h"
22 23
23 #include <QtTest> 24 #include <QtTest>
24 25
25 #include <iostream> 26 #include <iostream>
26 27
70 { 71 {
71 TestScaleTickIntervals t; 72 TestScaleTickIntervals t;
72 if (QTest::qExec(&t, argc, argv) == 0) ++good; 73 if (QTest::qExec(&t, argc, argv) == 0) ++good;
73 else ++bad; 74 else ++bad;
74 } 75 }
76 {
77 TestMovingMedian t;
78 if (QTest::qExec(&t, argc, argv) == 0) ++good;
79 else ++bad;
80 }
75 81
76 if (bad > 0) { 82 if (bad > 0) {
77 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; 83 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl;
78 return 1; 84 return 1;
79 } else { 85 } else {