-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrunTests.m
30 lines (25 loc) · 902 Bytes
/
runTests.m
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
import matlab.unittest.TestSuite;
% Test Backhaul
disp('Testing Backhaul functions...');
suite = TestSuite.fromFolder('backhaul','IncludingSubfolders', true);
result = run(suite);
% Test Channel
disp('Testing Channel functions...');
suite = TestSuite.fromFolder('channel', 'IncludingSubfolders', true);
result = run(suite);
% Test eNB
disp('Testing eNB functions...');
suite = TestSuite.fromFolder('enb', 'IncludingSubfolders', true);
result = run(suite);
% Test MetricRecorder
disp('Testing MetricRecorder functions...');
suite = TestSuite.fromFolder('results', 'IncludingSubfolders', true);
result = run(suite);
% Test UE
disp('Testing UE functions...');
suite = TestSuite.fromFolder('ue', 'IncludingSubfolders', true);
result = run(suite);
% Test Monster (simulation)
disp('Testing Monster functions...');
suite = TestSuite.fromFolder('tests', 'IncludingSubfolders', true);
result = run(suite);