Expanded MATLAB tests

This commit is contained in:
Jason Watkins
2015-03-26 11:13:41 -07:00
parent 8dace8b2ab
commit 9791283578
4 changed files with 13 additions and 7 deletions

View File

@@ -6,13 +6,14 @@ disp('Not Functional Yet!')
addpath('../../MATLAB')
import XPlaneConnect.*
DREFS = {'sim/operation/override/override_planepath'};
value = 0; % Resume
DREFS = {'sim/cockpit/switches/gear_handle_status'};
setConn(value);
setConn(49055);
result = requestDREF(DREFS);
assert(isequal(length(result),1),'setConnTest: requestDREF unsucessful-wrong number of elements returned');
setConn(49009);
end