-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtest_settings.h
68 lines (60 loc) · 1.78 KB
/
test_settings.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
61
62
63
64
65
66
67
68
// Test settings - use this file to change which tests are executed
// Change the 0 to a 1 to run that test
// Note that the tests won't compile until their respective functions
// have a header in the .h, and implementations in the .cpp
// Milestone 1 test cases of basic functionality
// Basic Functions
#define RUN_TEST_1A 1
#define RUN_TEST_1B 0
#define RUN_TEST_1C 0
#define RUN_TEST_1D 0
#define RUN_TEST_1E 0
#define RUN_TEST_1F 0
#define RUN_TEST_1G 0
#define RUN_TEST_1H 0
#define RUN_TEST_1I 0
// Iterator
#define RUN_TEST_1J 0
#define RUN_TEST_1K 0
#define RUN_TEST_1L 0
#define RUN_TEST_1M 0
#define RUN_TEST_1N 0
#define RUN_TEST_1O 0
#define RUN_TEST_1P 0
#define RUN_TEST_1Q 0
#define RUN_TEST_1R 0
#define RUN_TEST_1S 0
#define RUN_TEST_1T 0
#define RUN_TEST_1U 0
#define RUN_TEST_1V 0
// Milestone 2: range constructor (optional)
#define RUN_TEST_2A 0
#define RUN_TEST_2B 0
// Milestone 2: initializer list constructor (optional)
#define RUN_TEST_2C 0
#define RUN_TEST_2D 0
// Milestone 3: operator[]
#define RUN_TEST_3A 0
#define RUN_TEST_3B 0
// Milestone 3: operator<<
#define RUN_TEST_3C 0
#define RUN_TEST_3D 0
// Milestone 3: operator== and operator!=
#define RUN_TEST_3E 0
#define RUN_TEST_3F 0
// Milestone 4: copy operations
#define RUN_TEST_4A 0
#define RUN_TEST_4B 0
#define RUN_TEST_4C 0
// Milestone 4: move operations
// warning: these may pass even if you haven't implemented them
// - before implementing copy or move, 3AB will fail, 3CDEFGH will pass
// - after implementing copy but not move, 3GH will fail, 3ABCDEF will pass
// - after implementing copy & move, all of them should pass (you should aim for this)
#define RUN_TEST_4D 0
#define RUN_TEST_4E 0
#define RUN_TEST_4F 0
#define RUN_TEST_4G 0
#define RUN_TEST_4H 0
// Milestone 5: benchmark (optional)
#define RUN_TEST_PERF 0