-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpositiontestsuite.h
60 lines (55 loc) · 1.69 KB
/
positiontestsuite.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/////////////////////////////////////////////////////////////////////////////
// Name: positiontestsuite.h
// Purpose: Performs unit testing on the Position class
// Author: Brad Larsen
// Modified by:
// Created: Jan 5, 2005
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __POSITIONTESTSUITE_H__
#define __POSITIONTESTSUITE_H__
/// Performs unit testing on the Position class
class PositionTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(PositionTestSuite)
// Constructor/Destructor
public:
PositionTestSuite();
~PositionTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Cases
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCasePosition();
bool TestCaseDurationType();
bool TestCaseIrregularGrouping();
bool TestCaseBeaming();
bool TestCaseDotted();
bool TestCaseRest();
bool TestCaseVibrato();
bool TestCaseArpeggio();
bool TestCasePickStroke();
bool TestCaseStaccato();
bool TestCaseAccent();
bool TestCaseTremoloPicking();
bool TestCasePalmMuting();
bool TestCaseTap();
bool TestCaseGraceNotes();
bool TestCaseTripletFeel();
bool TestCaseLetRing();
bool TestCaseFermata();
bool TestCaseVolumeSwell();
bool TestCaseTremoloBar();
bool TestCaseMultibarRest();
bool TestCaseComplexSymbol();
bool TestCaseNoteArray();
};
#endif