Skip to content

Commit

Permalink
Release 8.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Dec 12, 2022
1 parent 655ba24 commit 49d0584
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
7 changes: 5 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ Change history for MP-Test
==========================


Changes since 7.1
-----------------
Version 8.0b1 - *Dec 12, 2022*
------------------------------

#### 12/12/22
- Release 8.0b1.

#### 11/10/22
- Add `t_str_match()` to test that a string/char array matches an
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 1996-2020, Power Systems Engineering Research Center (PSERC)
Copyright (c) 1996-2022, Power Systems Engineering Research Center (PSERC)
and individual contributors (see AUTHORS file for details).
All rights reserved.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ of MATLAB or Octave, including setting up your MATLAB/Octave path.
>> test_mptest
t_test_fcns.......ok
t_have_feature....ok
All tests successful (25 of 25)
Elapsed time 0.06 seconds.
All tests successful (29 of 29)
Elapsed time 0.18 seconds.
```

Usage
Expand Down Expand Up @@ -91,7 +91,7 @@ Usage
mptest_ex1.....ok (2 of 4 skipped)
t_test_fcns....ok
All tests successful (7 passed, 2 skipped of 9)
Elapsed time 0.00 seconds.
Elapsed time 0.09 seconds.
```

Documentation
Expand Down
24 changes: 24 additions & 0 deletions docs/relnotes/MP-Test-Release-Notes-8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
What's New in MP-Test 8.0b1
---------------------------

#### Released Dec 12, 2022

Below is a summary of the changes since version 7.1 of MP-Test. See the
[`CHANGES.md`][1] file for all the gory details.

#### New Features:
- New function `t_str_match()` to test that a string/char array matches an
expected value. Includes the option to apply a set of regular expression
or simple string replacements before comparing.
- New function `t_file_match()` to test that the contents of two text files
match, with the option to delete one if they do match. Includes
the option to apply a set of string or regular expresssion replacements
before comparing.

#### Other Change:
- Allow `logical` type (i.e. `true` and `false`) as second input to
`have_feature()`, as well as `numeric` type (1 and 0), to facilitate
using (`logical`) output of prior call as toggle input.


[1]: ../../CHANGES.md
4 changes: 2 additions & 2 deletions lib/mptestver.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
% See https://github.com/MATPOWER/mptest for more info.

v = struct( 'Name', 'MP-Test', ...
'Version', '8.0-dev', ...
'Version', '8.0b1', ...
'Release', '', ...
'Date', '10-Nov-2022' );
'Date', '12-Dec-2022' );
if nargout > 0
if nargin > 0
rv = v;
Expand Down

0 comments on commit 49d0584

Please sign in to comment.