UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

10 lines (9 loc) 545 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.uint8Array = uint8Array; const globals_js_1 = require("../utils/globals.js"); const integer_js_1 = require("./integer.js"); const TypedIntArrayArbitraryBuilder_js_1 = require("./_internals/builders/TypedIntArrayArbitraryBuilder.js"); /**@__NO_SIDE_EFFECTS__*/function uint8Array(constraints = {}) { return (0, TypedIntArrayArbitraryBuilder_js_1.typedIntArrayArbitraryArbitraryBuilder)(constraints, 0, 255, globals_js_1.Uint8Array, integer_js_1.integer); }