UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

5 lines (4 loc) 202 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.runIdToFrequency = void 0; exports.runIdToFrequency = (runId) => 2 + Math.floor(Math.log(runId + 1) / Math.log(10));