comparison base/test/svcore-base-test.cpp @ 1407:25ed6dde2ce0 scale-ticks

Scale tick labeller, and tests (some failing so far)
author Chris Cannam
date Wed, 03 May 2017 13:02:08 +0100
parents 667e369cfeab
children 87ae75da6527
comparison
equal deleted inserted replaced
1406:09751743647e 1407:25ed6dde2ce0
12 */ 12 */
13 13
14 #include "TestLogRange.h" 14 #include "TestLogRange.h"
15 #include "TestRangeMapper.h" 15 #include "TestRangeMapper.h"
16 #include "TestPitch.h" 16 #include "TestPitch.h"
17 #include "TestScaleTickIntervals.h"
17 #include "TestStringBits.h" 18 #include "TestStringBits.h"
18 #include "TestOurRealTime.h" 19 #include "TestOurRealTime.h"
19 #include "TestVampRealTime.h" 20 #include "TestVampRealTime.h"
20 #include "TestColumnOp.h" 21 #include "TestColumnOp.h"
21 22
64 { 65 {
65 TestLogRange t; 66 TestLogRange t;
66 if (QTest::qExec(&t, argc, argv) == 0) ++good; 67 if (QTest::qExec(&t, argc, argv) == 0) ++good;
67 else ++bad; 68 else ++bad;
68 } 69 }
70 {
71 TestScaleTickIntervals t;
72 if (QTest::qExec(&t, argc, argv) == 0) ++good;
73 else ++bad;
74 }
69 75
70 if (bad > 0) { 76 if (bad > 0) {
71 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; 77 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
72 return 1; 78 return 1;
73 } else { 79 } else {