Commit graph

11 commits

Author SHA1 Message Date
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +00:00
Markus Schirp
dea1a5741a Consolidate constant names for nodes 2014-06-16 10:56:27 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
caf6c368d0 Remove indeterministic mutations
A mutation test that passes/fails on code today should also pass/fail on
the same code tomorrow.

* Closes #173
* Closes #127
* Closes #27
2014-05-10 14:37:25 +00:00
Markus Schirp
ec55f85804 Do not emit mutations if signed zero float/double
There are two representations of zero in IEEE 754. The negative and the
positive zero. This commutis removes a mutation that causes the sign to be flipped.

These mutations are very uneasy to kill. Currently only these side
effects are known:

1 / -0.0 => -Infinity
1 / 0.0 => Infinity
0.0.to_s => "0.0"
-0.0.to_s => "-0.0"

I'm happy to readd the mutation - when someone adds more wisdom to
this case ;)

Closes #126
2013-12-01 20:34:19 +01:00
Dan Kubb
a700eb22d3 Add missing YARD docs 2013-08-01 22:53:51 -07:00
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
02dee45458 Port literal float emitter to parser
Also simplify emitter for special float cases Nan, Inf, -Inf
2013-06-14 21:12:09 +02:00
Markus Schirp
6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
69e9de95ed Extract node specific mutator base class 2012-12-06 21:30:28 +01:00