Skip to content

Releases: MATPOWER/mptest

MP-Test 8.0

15 May 21:38
Compare
Choose a tag to compare

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:

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.

MP-Test 7.1

08 Oct 15:35
Compare
Choose a tag to compare

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 for have_fcn(), from MATPOWER and MP-Opt-Model.
    The detection of a feature named <tag> is implemented by the
    function have_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

20 Jun 16:19
Compare
Choose a tag to compare

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() with tic()/toc() for timing.

MP-Test 7.0b1

29 Oct 20:55
Compare
Choose a tag to compare
MP-Test 7.0b1 Pre-release
Pre-release

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() with tic()/toc() for timing.