Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
2 folders · 4 files
README.md
test-fixture-data-sequence #
Reusable numeric test data sequences for benchmarking, async pattern testing, and generator behavior validation.
Exports #
array0to999: static 1000-element array of consecutive integers (as const)gen0to999: sync generator yielding 0 to 999gen0to999error: sync generator yielding 0 to 998, then throws RangeErrorgen0to999Async: async generator yielding 0 to 999gen0to999errorAsync: async generator yielding 0 to 998, then throws RangeErrorgen0to999AsyncSlow: async generator with progressive delays (i ms per value)gen0to999errorAsyncSlow: async generator with progressive delays, then throwspromises0to999: 1000 promises resolving to their index after index-ms delaygenerateConsecutiveArray(count): parameterized array factorygenerateProgressivePromises(count): parameterized promise array factory
Design notes #
The 0-999 range includes a falsy value (0) and 999 truthy values, making it useful for truthiness predicate testing. Progressive-delay variants simulate real-world async operations with varying response times.