File size: 806 Bytes
96af7c9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnbiasedProperty = void 0;
class UnbiasedProperty {
constructor(property) {
this.property = property;
if (this.property.runBeforeEach !== undefined && this.property.runAfterEach !== undefined) {
this.runBeforeEach = () => this.property.runBeforeEach();
this.runAfterEach = () => this.property.runAfterEach();
}
}
isAsync() {
return this.property.isAsync();
}
generate(mrng, _runId) {
return this.property.generate(mrng, undefined);
}
shrink(value) {
return this.property.shrink(value);
}
run(v, dontRunHook) {
return this.property.run(v, dontRunHook);
}
}
exports.UnbiasedProperty = UnbiasedProperty;
|