-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathTestFAST.m
More file actions
54 lines (40 loc) · 1.05 KB
/
TestFAST.m
File metadata and controls
54 lines (40 loc) · 1.05 KB
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
function [] = TestFAST()
%
% [] = TestFAST()
% written by Vaibhav Rau, vaibhav.rau@warriorlife.net
% modified by Paul Mokotoff, prmoko@umich.edu
% last updated: 09 dec 2024
%
% Driver file for all FAST test cases.
%
% INPUTS:
% none
%
% OUTPUTS:
% none
%
%% TEST BATTERY PACKAGE %%
%%%%%%%%%%%%%%%%%%%%%%%%%%
% run test cases and print results
BatteryPkg.TestGroundCharge();
BatteryPkg.TestModel();
BatteryPkg.TestResizeBattery();
%% TEST POPULSION PACKAGE %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% run test cases and print results
PropulsionPkg.TestCreatePropArch();
PropulsionPkg.TestPowerAvailable();
%% TEST UNIT CONVERSION PACKAGE %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% run test cases and print results
UnitConversionPkg.TestConvForce();
UnitConversionPkg.TestConvLength();
UnitConversionPkg.TestConvMass();
UnitConversionPkg.TestConvTemp();
UnitConversionPkg.TestConvTSFC();
UnitConversionPkg.TestConvVel();
%% TESTS COMPLETED %%
%%%%%%%%%%%%%%%%%%%%%
% print a notice
fprintf(1, "\nAll FAST tests completed! Check above to see if any have failed.\n");
end