fast-check
Version:
Property based testing framework for JavaScript (like QuickCheck)
15 lines (14 loc) • 626 B
TypeScript
import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
/**
* For single characters - all values in 0x0000-0xffff can be generated
*
* WARNING:
*
* Some generated characters might appear invalid regarding UCS-2 and UTF-16 encoding.
* Indeed values within 0xd800 and 0xdfff constitute surrogate pair characters and are illegal without their paired character.
*
* @deprecated Please use ${@link string} with `fc.string({ unit, minLength: 1, maxLength: 1 })`, utilizing one of its unit variants instead
* @remarks Since 0.0.11
* @public
*/
export declare function char16bits(): Arbitrary<string>;