fast-check
Version:
Property based testing framework for JavaScript (like QuickCheck)
10 lines (9 loc) • 552 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.int16Array = int16Array;
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 int16Array(constraints = {}) {
return (0, TypedIntArrayArbitraryBuilder_js_1.typedIntArrayArbitraryArbitraryBuilder)(constraints, -32768, 32767, globals_js_1.Int16Array, integer_js_1.integer);
}