1 classdef TestSuiteStaticProp < matlab.unittest.TestCase
3 function self = TestSuiteStaticProp(varargin)
4 self =
self@matlab.unittest.TestCase(varargin{:});
7 methods (TestMethodSetup)
8 function self = setUp(
self)
14 function self=test_separation(self)
19 self.verifyEqual(1,...
22 self.verifyEqual(2,...
24 self.verifyEqual(11,...
27 self.verifyEqual(22,...
30 function self=test_checkPresence(self)
35 self.verifyEqual(true,isThere);
36 self.verifyEqual(11,resVal);
39 self.verifyEqual(true,isempty(resVal));
40 self.verifyEqual(false,isThere);
43 self.verifyEqual(true,isThere);
44 self.verifyEqual(1,resVal);
47 self.verifyEqual(false,isThere);
48 self.verifyEqual(true,isempty(resVal));
53 self.aux_checkNoPropException(meObj);
58 self.aux_checkNoPropException(meObj);
64 function aux_checkNoPropException(self,meObj)
65 self.verifyEqual(true,~isempty(strfind(...
66 meObj.identifier,':noProp')));