5 methods (TestMethodSetup)
6 function self = setUp(
self)
12 self = self@matlab.unittest.TestCase(varargin{:});
16 function self = test_simple_patch(
self)
17 SRes=self.tracker.applyPatches(struct(),0,1);
18 self.verifyEqual(SRes.alpha,1);
20 SRes=self.tracker.applyPatches(struct(),0,2);
21 self.verifyEqual(SRes.beta,3);
22 self.verifyEqual(SRes.alpha,1);
24 SRes=self.tracker.applyPatches(struct(),0,103);
25 self.verifyEqual(SRes.beta,2);
26 SResInf=self.tracker.applyPatches(struct(),-inf,inf);
27 self.verifyEqual(true,isequal(SRes,SResInf));