-
Notifications
You must be signed in to change notification settings - Fork 1
/
guitartestsuite.h
47 lines (42 loc) · 1.25 KB
/
guitartestsuite.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
/////////////////////////////////////////////////////////////////////////////
// Name: guitartestsuite.h
// Purpose: Performs unit testing on the Guitar class
// Author: Brad Larsen
// Modified by:
// Created: Dec 8, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __GUITARTESTSUITE_H__
#define __GUITARTESTSUITE_H__
/// Performs unit testing on the Guitar class
class GuitarTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(GuitarTestSuite)
// Constructor/Destructor
public:
GuitarTestSuite();
~GuitarTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Cases
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCaseNumber();
bool TestCasePreset();
bool TestCaseInitialVolume();
bool TestCaseDescription();
bool TestCaseReverb();
bool TestCaseChorus();
bool TestCaseTremolo();
bool TestCasePhaser();
bool TestCaseCapo();
bool TestCaseTuning();
};
#endif