Skip to content

Commit 3346ca4

Browse files
committed
testJoin: use_java
1 parent 27210c2 commit 3346ca4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/TestJoin.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
classdef TestJoin < matlab.unittest.TestCase
22

33
properties (TestParameter)
4+
use_java = num2cell(unique([stdlib.has_java(), false]))
5+
46
p = {{"", "", ""}, ...
57
{"a", "", "a"}, ...
68
{"", "a", "a"}, ...
@@ -19,8 +21,8 @@
1921
end
2022

2123
methods (Test)
22-
function test_join(tc, p)
23-
tc.verifyEqual(stdlib.join(p{1}, p{2}), p{3})
24+
function test_join(tc, p, use_java)
25+
tc.verifyEqual(stdlib.join(p{1}, p{2}, use_java), p{3})
2426
end
2527
end
2628

0 commit comments

Comments
 (0)