/[svn]/linuxsampler/trunk/src/testcases/NKSPTest.cpp
ViewVC logotype

Contents of /linuxsampler/trunk/src/testcases/NKSPTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3693 - (show annotations) (download)
Fri Jan 3 14:53:32 2020 UTC (9 months, 3 weeks ago) by schoenebeck
File size: 4946 byte(s)
Added NKSP test cases for core built-in variables.

1 #include "NKSPTest.h"
2 #include <iostream>
3
4 #define TEST_ASSERT CPPUNIT_ASSERT
5 #define NO_MAIN 1
6 #define SILENT_TEST 1
7 #include "../scriptvm/tests/NKSPCoreLangTest.cpp"
8
9 CPPUNIT_TEST_SUITE_REGISTRATION(NKSPTest);
10
11 // NKSPTest
12
13 void NKSPTest::printTestSuiteName() {
14 cout << "\b \nRunning NKSP Tests: " << flush;
15 }
16
17 void NKSPTest::testNKSPBuiltInExitFunction() {
18 testBuiltInExitFunction();
19 }
20
21 void NKSPTest::testNKSPStringConcatOperator() {
22 testStringConcatOperator();
23 }
24
25 void NKSPTest::testNKSPNegOperator() {
26 testNegOperator();
27 }
28
29 void NKSPTest::testNKSPPlusOperator() {
30 testPlusOperator();
31 }
32
33 void NKSPTest::testNKSPMinusOperator() {
34 testMinusOperator();
35 }
36
37 void NKSPTest::testNKSPModuloOperator() {
38 testModuloOperator();
39 }
40
41 void NKSPTest::testNKSPMultiplyOperator() {
42 testMultiplyOperator();
43 }
44
45 void NKSPTest::testNKSPDivideOperator() {
46 testDivideOperator();
47 }
48
49 void NKSPTest::testNKSPSmallerThanOperator() {
50 testSmallerThanOperator();
51 }
52
53 void NKSPTest::testNKSPGreaterThanOperator() {
54 testGreaterThanOperator();
55 }
56
57 void NKSPTest::testNKSPSmallerOrEqualOperator() {
58 testSmallerOrEqualOperator();
59 }
60
61 void NKSPTest::testNKSPGreaterOrEqualOperator() {
62 testGreaterOrEqualOperator();
63 }
64
65 void NKSPTest::testNKSPEqualOperator() {
66 testEqualOperator();
67 }
68
69 void NKSPTest::testNKSPUnequalOperator() {
70 testUnequalOperator();
71 }
72
73 void NKSPTest::testNKSPLogicalAndOperator() {
74 testLogicalAndOperator();
75 }
76
77 void NKSPTest::testNKSPLogicalOrOperator() {
78 testLogicalOrOperator();
79 }
80
81 void NKSPTest::testNKSPLogicalNotOperator() {
82 testLogicalNotOperator();
83 }
84
85 void NKSPTest::testNKSPBitwiseAndOperator() {
86 testBitwiseAndOperator();
87 }
88
89 void NKSPTest::testNKSPBitwiseOrOperator() {
90 testBitwiseOrOperator();
91 }
92
93 void NKSPTest::testNKSPBitwiseNotOperator() {
94 testBitwiseNotOperator();
95 }
96
97 void NKSPTest::testNKSPPrecedenceOfOperators() {
98 testPrecedenceOfOperators();
99 }
100
101 void NKSPTest::testNKSPBuiltInMinFunction() {
102 testBuiltInMinFunction();
103 }
104
105 void NKSPTest::testNKSPBuiltInMaxFunction() {
106 testBuiltInMaxFunction();
107 }
108
109 void NKSPTest::testNKSPBuiltInAbsFunction() {
110 testBuiltInAbsFunction();
111 }
112
113 void NKSPTest::testNKSPBuiltInIncFunction() {
114 testBuiltInIncFunction();
115 }
116
117 void NKSPTest::testNKSPBuiltInDecFunction() {
118 testBuiltInDecFunction();
119 }
120
121 void NKSPTest::testNKSPBuiltInInRangeFunction() {
122 testBuiltInInRangeFunction();
123 }
124
125 void NKSPTest::testNKSPBuiltInRandomFunction() {
126 testBuiltInRandomFunction();
127 }
128
129 void NKSPTest::testNKSPBuiltInShiftLeftFunction() {
130 testBuiltInShiftLeftFunction();
131 }
132
133 void NKSPTest::testNKSPBuiltInShiftRightFunction() {
134 testBuiltInShiftRightFunction();
135 }
136
137 void NKSPTest::testNKSPBuiltInMsbFunction() {
138 testBuiltInMsbFunction();
139 }
140
141 void NKSPTest::testNKSPBuiltInLsbFunction() {
142 testBuiltInLsbFunction();
143 }
144
145 void NKSPTest::testNKSPBuiltInIntToRealFunction() {
146 testBuiltInIntToRealFunction();
147 }
148
149 void NKSPTest::testNKSPBuiltInRealFunction() {
150 testBuiltInRealFunction();
151 }
152
153 void NKSPTest::testNKSPBuiltInRealToIntFunction() {
154 testBuiltInRealToIntFunction();
155 }
156
157 void NKSPTest::testNKSPBuiltInIntFunction() {
158 testBuiltInIntFunction();
159 }
160
161 void NKSPTest::testNKSPBuiltInRoundFunction() {
162 testBuiltInRoundFunction();
163 }
164
165 void NKSPTest::testNKSPBuiltInCeilFunction() {
166 testBuiltInCeilFunction();
167 }
168
169 void NKSPTest::testNKSPBuiltInFloorFunction() {
170 testBuiltInFloorFunction();
171 }
172
173 void NKSPTest::testNKSPBuiltInSqrtFunction() {
174 testBuiltInSqrtFunction();
175 }
176
177 void NKSPTest::testNKSPBuiltInLogFunction() {
178 testBuiltInLogFunction();
179 }
180
181 void NKSPTest::testNKSPBuiltInLog2Function() {
182 testBuiltInLog2Function();
183 }
184
185 void NKSPTest::testNKSPBuiltInLog10Function() {
186 testBuiltInLog10Function();
187 }
188
189 void NKSPTest::testNKSPBuiltInExpFunction() {
190 testBuiltInExpFunction();
191 }
192
193 void NKSPTest::testNKSPBuiltInPowFunction() {
194 testBuiltInPowFunction();
195 }
196
197 void NKSPTest::testNKSPBuiltInSinFunction() {
198 testBuiltInSinFunction();
199 }
200
201 void NKSPTest::testNKSPBuiltInCosFunction() {
202 testBuiltInCosFunction();
203 }
204
205 void NKSPTest::testNKSPBuiltInTanFunction() {
206 testBuiltInTanFunction();
207 }
208
209 void NKSPTest::testNKSPBuiltInAsinFunction() {
210 testBuiltInAsinFunction();
211 }
212
213 void NKSPTest::testNKSPBuiltInAcosFunction() {
214 testBuiltInAcosFunction();
215 }
216
217 void NKSPTest::testNKSPBuiltInAtanFunction() {
218 testBuiltInAtanFunction();
219 }
220
221 void NKSPTest::testNKSPBuiltInArrayEqualFunction() {
222 testBuiltInArrayEqualFunction();
223 }
224
225 void NKSPTest::testNKSPBuiltInSortFunction() {
226 testBuiltInSortFunction();
227 }
228
229 void NKSPTest::testNKSPBuiltInNumElementsFunction() {
230 testBuiltInNumElementsFunction();
231 }
232
233 void NKSPTest::testNKSPBuiltInSearchFunction() {
234 testBuiltInSearchFunction();
235 }
236
237 void NKSPTest::testNKSPIfStatement() {
238 testIfStatement();
239 }
240
241 void NKSPTest::testNKSPWhileStatement() {
242 testWhileStatement();
243 }
244
245 void NKSPTest::testNKSPBuiltInVars() {
246 testBuiltInVars();
247 }

  ViewVC Help
Powered by ViewVC