WORKED CASE · SYNTHETIC TEST DATA
Inspect a generated ULID
ULID combines time and randomness; the shape can be checked without knowing the random value.
Input and settings
Count 1Run and interpret
Generate one value and compare its length and alphabet with the pattern.
Expected output
^[0-9A-HJKMNP-TV-Z]{26}$Scope and possible misuse
This is not a monotonic generator. Same-millisecond ordering and global uniqueness are not checked; retain database uniqueness constraints.