/** * @param {*} other */ isNotEqualTo(other) { if (equate(this.subject, other)) { this._failExpected('to NOT equal', other); } }
/** * @param {*} other */ isEqualTo(other) { if (!equate(this.subject, other)) { this._failExpected('to equal', other); } }