Build out MATLAB test framework and core integration coverage
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
classdef DC_Supply_test < matlab.unittest.TestCase
|
||||
% Test class for DC_Supply
|
||||
classdef DC_supply_test < IMDDTestCase
|
||||
% Auto-generated placeholder for DC_supply.
|
||||
% Target: C:/Users/Silas/Documents/MATLAB/imdd_simulation/Classes/05_Lab/DC_supply.m
|
||||
|
||||
methods (Test)
|
||||
function testExample(testCase)
|
||||
% Example test case for DC_Supply
|
||||
% Add your test code here
|
||||
|
||||
dc_supply = DC_supply("voltage",[0,9],"active",1);
|
||||
|
||||
dc_supply.set();
|
||||
|
||||
testCase.verifyTrue(true);
|
||||
methods (Test, TestTags = {'placeholder', 'todo'})
|
||||
function testNotImplemented(testCase)
|
||||
testCase.assumeFail("Tests for DC_supply are not implemented yet.");
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user