77end
88
99
10- methods (Test )
10+ methods (Test , TestTags = {' toolbox' , ' java' })
11+ function test_all_toolboxes(tc )
12+ tc .assumeTrue(stdlib .has_java())
13+ tbx = stdlib .allToolboxes();
14+ tc .verifyClass(tbx , " table" )
15+ end
16+ end
17+
18+
19+ methods (Test , TestTags = {' toolbox' })
1120
1221function test_toolbox_used(tc )
1322r = fullfile(fileparts(fileparts(mfilename(' fullpath' ))), ' +stdlib' );
@@ -23,12 +32,18 @@ function test_toolbox_used(tc)
2332tc .verifyEqual(length(mathworksUsed ), 1 )
2433end
2534
26- function test_all_toolboxes(tc )
27- tc .assumeTrue(stdlib .has_java())
28- tbx = stdlib .allToolboxes();
29- tc .verifyClass(tbx , " table" )
35+
36+ function test_has_parallel_toolbox(tc )
37+ y = stdlib .has_parallel_toolbox();
38+ tc .verifyClass(y , ' logical' )
39+ tc .verifyNotEmpty(y )
40+ end
41+
3042end
3143
44+
45+ methods (Test )
46+
3247function test_platform_tell(tc )
3348r = stdlib .platform_tell();
3449tc .verifyClass(r , ' char' )
@@ -112,4 +127,4 @@ function test_cpu_count(tc)
112127
113128end
114129
115- end
130+ end
0 commit comments