File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 8
8
methods (TestClassSetup )
9
9
10
10
function useMATLABR2024bOrAbove(testCase )
11
- testCase .assumeTrue(matlabRelease().Release >= " R2024b" , " Only MATLAB older than R2024b is supported for this test." );
11
+ testCase .assumeFalse(isMATLABReleaseOlderThan( " R2024b" ) , " Only MATLAB R2024b or later is supported for this test." );
12
12
end
13
13
end
14
14
Original file line number Diff line number Diff line change 4
4
methods (TestClassSetup )
5
5
6
6
function useMATLABR2024bOrAbove(testCase )
7
- testCase .assumeTrue(matlabRelease().Release >= " R2024b" , " Only MATLAB older than R2024b is supported for this test." );
7
+ testCase .assumeFalse(isMATLABReleaseOlderThan( " R2024b" ) , " Only MATLAB R2024b or later is supported for this test." );
8
8
end
9
9
end
10
10
Original file line number Diff line number Diff line change 9
9
Version = {" 1.0.1" , " 2.3.1" }
10
10
end
11
11
12
+ methods (TestClassSetup )
13
+
14
+ function useMATLABR2025aOrAbove(testCase )
15
+ testCase .assumeFalse(isMATLABReleaseOlderThan(" R2025a" ), " Only MATLAB R2025a or later is supported for this test." );
16
+ end
17
+ end
18
+
12
19
methods (Test )
13
20
14
21
% Test that toolbox can be packaged.
You can’t perform that action at this time.
0 commit comments