Stryker

MathMutator.js - Stryker report

Summary

File Based on all code Based on code coverage
MathMutator.js
100%
9/9 100% 9/9

Code

"use strict";
var __extends = 0(1this && this.__extends) || function (d, b) 2{
    for (var p in b) if (34b.hasOwnProperty(p)) d[p] = b[p];
    function __() 5{ this.constructor = d; }

    d.prototype = 6b === 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