Skip to content

Commit 1bc7e48

Browse files
committed
Adding second chapter 14 test to see if I can get it running.
1 parent d01b811 commit 1bc7e48

2 files changed

Lines changed: 49 additions & 17 deletions

File tree

resources/project/Project.xml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,9 +2215,9 @@
22152215
<Info/>
22162216
<File Location="simulink_cache.xml">
22172217
<Info>
2218-
<Category UUID="FileClassCategory">
2219-
<Label UUID="derived"/>
2220-
</Category>
2218+
<Category UUID="FileClassCategory">
2219+
<Label UUID="derived"/>
2220+
</Category>
22212221
</Info>
22222222
</File>
22232223
<DIR_SIGNIFIER Location="1">
@@ -2230,14 +2230,14 @@
22302230
<File Location="checksumOfCache.mat">
22312231
<Info>
22322232
<Category UUID="FileClassCategory">
2233-
<Label UUID="derived"/>
2233+
<Label UUID="derived"/>
22342234
</Category>
22352235
</Info>
22362236
</File>
22372237
<File Location="varInfo.mat">
22382238
<Info>
22392239
<Category UUID="FileClassCategory">
2240-
<Label UUID="derived"/>
2240+
<Label UUID="derived"/>
22412241
</Category>
22422242
</Info>
22432243
</File>
@@ -2317,15 +2317,15 @@
23172317
</DIR_SIGNIFIER>
23182318
<File Location="info">
23192319
<DIR_SIGNIFIER Location="1">
2320-
<Info/>
2320+
<Info/>
23212321
</DIR_SIGNIFIER>
23222322
<Info/>
23232323
<File Location="binfo.mat">
2324-
<Info>
2325-
<Category UUID="FileClassCategory">
2326-
<Label UUID="derived"/>
2327-
</Category>
2328-
</Info>
2324+
<Info>
2325+
<Category UUID="FileClassCategory">
2326+
<Label UUID="derived"/>
2327+
</Category>
2328+
</Info>
23292329
</File>
23302330
</File>
23312331
<Info/>
@@ -2339,14 +2339,14 @@
23392339
<File Location="sfun">
23402340
<File Location="info">
23412341
<File Location="binfo.mat">
2342-
<Info>
2343-
<Category UUID="FileClassCategory">
2344-
<Label UUID="derived"/>
2345-
</Category>
2346-
</Info>
2342+
<Info>
2343+
<Category UUID="FileClassCategory">
2344+
<Label UUID="derived"/>
2345+
</Category>
2346+
</Info>
23472347
</File>
23482348
<DIR_SIGNIFIER Location="1">
2349-
<Info/>
2349+
<Info/>
23502350
</DIR_SIGNIFIER>
23512351
<Info/>
23522352
</File>
@@ -4361,6 +4361,13 @@
43614361
</Category>
43624362
</Info>
43634363
</File>
4364+
<File Location="tChapter14_2.m">
4365+
<Info>
4366+
<Category UUID="FileClassCategory">
4367+
<Label UUID="test"/>
4368+
</Category>
4369+
</Info>
4370+
</File>
43644371
</File>
43654372
<File Location="chapter15">
43664373
<Info/>

test/book/chapter14/tChapter14_2.m

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
classdef tChapter14 < RVCTest
2+
%< RunMLX & RVCTest
3+
%tChapter14 Unit tests for chapter 14 book code
4+
% The RunMLX base class will automatically run the MLX code in the
5+
% "MLXFile" property and ensure there are no errors.
6+
%
7+
% The RVCTest base class ensures that all the RVC Toolbox code is
8+
% available.
9+
%
10+
% Add additional unit tests for this chapter in the methods(Test)
11+
% section.
12+
13+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
14+
15+
properties
16+
%MLXFile - Name of MLX file to test
17+
% This property is declared in the RunMLX base class.
18+
MLXFile = "chapter14.mlx"
19+
end
20+
21+
methods(Test)
22+
% Additional test points for the chapter
23+
end
24+
25+
end

0 commit comments

Comments
 (0)