-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
executable file
·51 lines (38 loc) · 923 Bytes
/
Copy pathmain.cpp
File metadata and controls
executable file
·51 lines (38 loc) · 923 Bytes
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
/**
* @author:
* @project:
* @purpose:
* @date:
*/
#include <iostream>
//------------------------------------------------------------------------------
//Files we are testing:
#include "includes/stub/stub.h"
//------------------------------------------------------------------------------
using namespace std;
void basic_test(bool debug=false);
void testB(bool debug=false);
int main()
{
// BASIC TEST
cout << "\n\n---------running basic_test---------\n\n";
basic_test();
cout << "\n\n------------- D O N E --------------\n\n";
// TEST B
cout << "\n\n-----------running testB------------\n\n";
testB();
cout << "\n\n------------- D O N E --------------\n\n";
return 0;
}
void basic_test(bool debug)
{
if (stub()) {
cout << "Passed!" << endl;
} else {
cout << "Failed!" << endl;
}
}
void testB(bool debug)
{
// TODO: add more test here
}