1 classdef mlunit_test_ahashmap_basic < matlab.unittest.TestCase
2 properties (Access=
private)
12 self = self@matlab.unittest.TestCase(varargin{:});
15 properties (MethodSetupParameter)
18 methods (TestMethodSetup)
19 function self = setUp(
self,mapFactoryParam)
20 self.mapFactory=mapFactoryParam;
24 function self = test_defaultProps(self)
25 map=self.mapFactory.getInstance(); %
#ok<*PROP> 26 isHashedKeys=map.getIsHashedKeys();
27 isHashedPath=map.getIsHashedPath();
28 self.verifyEqual(
true,isHashedPath);
29 self.verifyEqual(
false,isHashedKeys);