Skip to content

Commit 7228ff5

Browse files
committed
no need for addpath
1 parent a45c8f8 commit 7228ff5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

buildfile.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
plan = buildplan(localfunctions);
44

5-
addpath(plan.RootFolder)
6-
75
if ~isMATLABReleaseOlderThan("R2024a")
86
plan("coverage") = matlab.buildtool.tasks.TestTask(Description="code coverage", SourceFiles="test", Strict=false, CodeCoverageResults="code-coverage.xml");
97
end

test/TestUnit.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
classdef TestUnit < matlab.unittest.TestCase
1+
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture(fileparts(fileparts(mfilename('fullpath'))))}) ...
2+
TestUnit < matlab.unittest.TestCase
23

34
properties
45
atol = 1e-9

0 commit comments

Comments
 (0)