UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

18 lines (17 loc) 455 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NoopSlicedGenerator = void 0; class NoopSlicedGenerator { constructor(arb, mrng, biasFactor) { this.arb = arb; this.mrng = mrng; this.biasFactor = biasFactor; } attemptExact() { return; } next() { return this.arb.generate(this.mrng, this.biasFactor); } } exports.NoopSlicedGenerator = NoopSlicedGenerator;