Releases: MATPOWER/mptest
Releases · MATPOWER/mptest
MP-Test 8.1
What's New in MP-Test 8.1
Released July 5, 2025
Below is a summary of the changes since version 8.0 of MP-Test. See the
CHANGES.md file for all the gory details.
New Features:
- Two new functions to assist with code for debugging:
assert_debug()-- callsassert()ifDEBUG_MODEis ontoggle_debug_mode()-- set/toggles whetherDEBUG_MODEis on
Changes:
- Enhance
t_is()to handleInfvalues appropriately.
MP-Test 8.0
What's New in MP-Test 8.0
Released May 10, 2024
Below is a summary of the changes since version 7.1 of MP-Test. See the
CHANGES.md 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.
New Documentation:
- New Sphinx-based User's Manual and Reference documentation.
Other Change:
- Allow
logicaltype (i.e.trueandfalse) as second input to
have_feature(), as well asnumerictype (1 and 0), to facilitate
using (logical) output of prior call as toggle input.
MP-Test 7.1
What's New in MP-Test 7.1
Released Oct 8, 2020
Below is a summary of the changes since version 7.0 of MP-Test. See the
CHANGES.md file for all the gory details.
New Features:
- New function
have_feature()to detect availability and version
information for optional functionality. This is a modular, extensible
replacement forhave_fcn(), from MATPOWER and MP-Opt-Model.
The detection of a feature named<tag>is implemented by the
functionhave_feature_<tag>(). Includes feature detection functions
for'matlab'and'octave'.
Other Changes:
- Expanded documentation in README.md.
- Improve handling of complex quantities in
t_is(). Now displays
differences in imaginary parts as well when there is a mismatch.
Previously, it would show only the real parts which could be identical. - Add
mptestver()defining explicit version number. - Switch from Travis-CI to GitHub workflows for continuous integration
testing.
MP-Test 7.0
What's New in MP-Test 7.0
Released Jun 20, 2019
Below is a summary of the changes since version 6.0 of MP-Test. See the
CHANGES.md file for all the gory details.
New Features:
- Updates for Travis-CI integration, with option to exit Octave
or MATLAB if any test fails.
Thanks to Richard Lincoln for getting us started with Travis-CI. - Modified
t_is()to handle sparse matrix inputs.
Bugs Fixed:
- Fix bug in
t_is()where comparing an integer value with a double
value would pass when it should not. - Added
abs()to output of failed tests for consistency when
comparing complex numbers (affects display only, test were correct).
Other Changes:
- Replace
clock()/etime()withtic()/toc()for timing.
MP-Test 7.0b1
What's New in MP-Test 7.0
Released Oct 30, 2018
Below is a summary of the changes since version 6.0 of MP-Test. See the
CHANGES.md file for all the gory details.
New Features:
- Updates for Travis-CI integration, with option to exit Octave
or MATLAB if any test fails.
Thanks to Richard Lincoln for getting us started with Travis-CI. - Modified
t_is()to handle sparse matrix inputs.
Bugs Fixed:
- Fix bug in
t_is()where comparing an integer value with a double
value would pass when it should not. - Added
abs()to output of failed tests for consistency when
comparing complex numbers (affects display only, test were correct).
Other Changes:
- Replace
clock()/etime()withtic()/toc()for timing.