comparison base/test/main.cpp @ 892:451f7f3ab6e7

Make octave numbering configurable, and change default to C4 = middle C
author Chris Cannam
date Thu, 27 Mar 2014 13:32:56 +0000
parents 4cc8265c4611
children ee9f4477f65b
comparison
equal deleted inserted replaced
889:7f97a4d9d14f 892:451f7f3ab6e7
10 License, or (at your option) any later version. See the file 10 License, or (at your option) any later version. See the file
11 COPYING included with this distribution for more information. 11 COPYING included with this distribution for more information.
12 */ 12 */
13 13
14 #include "TestRangeMapper.h" 14 #include "TestRangeMapper.h"
15 #include "TestPitch.h"
15 16
16 #include <QtTest> 17 #include <QtTest>
17 18
18 #include <iostream> 19 #include <iostream>
19 20
28 { 29 {
29 TestRangeMapper t; 30 TestRangeMapper t;
30 if (QTest::qExec(&t, argc, argv) == 0) ++good; 31 if (QTest::qExec(&t, argc, argv) == 0) ++good;
31 else ++bad; 32 else ++bad;
32 } 33 }
34 {
35 TestPitch t;
36 if (QTest::qExec(&t, argc, argv) == 0) ++good;
37 else ++bad;
38 }
33 39
34 if (bad > 0) { 40 if (bad > 0) {
35 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; 41 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
36 return 1; 42 return 1;
37 } else { 43 } else {