Skip to content

Commit

Permalink
add 0.7.1 changelog notes
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanKepner committed Feb 18, 2019
1 parent 10b2e76 commit 4ff7edc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Changelog
:code:`mutatest` is alpha software, and backwards compatibility between releases is
not guaranteed while under development.


0.7.1
-----

- Internal changes to :code:`Slice` mutations for clearer categorization and report output.
- Includes clearing names to :code:`Slice_Swap` and :code:`Slice_RangeChange` for categories.
- Updates operation names to :code:`Slice_Unbounded...` with "lower" or "upper".

0.7.0
-----

Expand Down
9 changes: 7 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,16 @@ Slices
Slice mutations to swap lower/upper values, or change range e.g. :code:`x[2:] to x[:2]`
or :code:`x[1:5] to x[1:4]`. This is a unique mutation. If the upper or lower bound is set to
:code:`None` then the bound values are swapped. This is represented by the operations of
:code:`Slice_UnboundedUpper` for swap None to the "upper" value from "lower". The "ToZero" operations
:code:`Slice_UnboundedUpper` for swap None to the "upper" value from "lower".
The "ToZero" operations
change the list by moving the upper bound by one unit towards zero from the absolute value and
then applying the original sign e.g. :code:`x[0:2]` would become :code:`x[0:1]`, and
:code:`x[-4:-1]` would become :code:`x[-4:0]`. In the positive case, which is assumed to be the
more common pattern, this results in shrinking the index slice by 1.
more common pattern, this results in shrinking the index slice by 1. Note that these "ToZero"
operations appear self-referential in the report output. This is because an operation identified
as a :code:`Slice_UPosToZero` remains as a :code:`Slice_UPosToZero` but with updated values.
Members:
- :code:`Slice_Unbounded`
Expand Down

0 comments on commit 4ff7edc

Please sign in to comment.