Renamed "setDREF" function back to "sendDREF".
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function setDREFTest( )
|
||||
function sendDREFTest( )
|
||||
%SENDREADTEST Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
addpath('../../MATLAB')
|
||||
@@ -7,7 +7,7 @@ import XPlaneConnect.*
|
||||
DREFS = {'sim/cockpit/switches/gear_handle_status'};
|
||||
value = randi([0 10]);
|
||||
|
||||
setDREF(DREFS{1},value);
|
||||
sendDREF(DREFS{1},value);
|
||||
result = getDREFs(DREFS);
|
||||
|
||||
assert(isequal(length(result),1),'setDREFTest: requestDREF unsucessful-wrong number of elements returned');
|
||||
@@ -13,7 +13,7 @@ disp(['XPC Tests-MATLAB (', os, ')']);
|
||||
theTests = {{@openCloseTest, 'Open/Close Test', 0},...
|
||||
{@sendTEXTTest,'TEXT Test', 0},...
|
||||
{@getDREFsTest,'Request DREF Test', 0},...
|
||||
{@setDREFTest,'Send DREF Test', 0},...
|
||||
{@sendDREFTest,'Send DREF Test', 0},...
|
||||
{@DATATest,'DATA Test', 0},...
|
||||
{@CTRLTest,'CTRL Test', 0},...
|
||||
{@POSITest,'POSI Test', 0},...
|
||||
|
||||
Reference in New Issue
Block a user