Summary
File |
Based on all code |
Based on code coverage |
MathMutator.js |
|
9/9 |
100% |
9/9 |
Code
"use strict";
var __extends = 0this && this.__extends && function (d, b) {
for (var p in b)
if (b.hasOwnProperty(p))
d[p] = b[p];
function __() {
this.constructor = d;
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}(1this || this.__extendsthis && this.__extends) || function (d, b) 2{
}{
for (var p in b) if (3true4falseb.hasOwnProperty(p)) d[p] = b[p];
function __() 5{
}{ this.constructor = d; }
d.prototype = 6b !== nullb === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var esprima_1 = require('esprima');
var OperatorMutator_1 = require('./OperatorMutator');
var MathMutator = (function (_super) 7{
}{
__extends(MathMutator, _super);
function MathMutator() 8{
}{
_super.call(this, 'Math', [esprima_1.Syntax.BinaryExpression], {
'+': '-',
'-': '+',
'*': '/',
'/': '*',
'%': '*' });
}
return MathMutator;
}(OperatorMutator_1.default));
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = MathMutator;
//# sourceMappingURL=MathMutator.js.map