-
Notifications
You must be signed in to change notification settings - Fork 1
/
chordnametestsuite.h
46 lines (41 loc) · 1.27 KB
/
chordnametestsuite.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/////////////////////////////////////////////////////////////////////////////
// Name: chordnametestsuite.h
// Purpose: Performs unit testing on the ChordName class
// Author: Brad Larsen
// Modified by:
// Created: Jan 4, 2005
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __CHORDNAMETESTSUITE_H__
#define __CHORDNAMETESTSUITE_H__
/// Performs unit testing on the ChordName class
class ChordNameTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(ChordNameTestSuite)
// Constructor/Destructor
public:
ChordNameTestSuite();
~ChordNameTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Cases
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCaseTonic();
bool TestCaseBassNote();
bool TestCaseFormula();
bool TestCaseBrackets();
bool TestCaseNoChord();
bool TestCaseFormulaFlags();
bool TestCaseFormulaModifications();
bool TestCaseFretPosition();
bool TestCaseType();
};
#endif