mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
chore(streams): remove unused test util (#5048)
This commit is contained in:
parent
d35f8a3c2d
commit
43bf28efcc
@ -2,17 +2,6 @@
|
||||
|
||||
import { assert, assertEquals } from "@std/assert";
|
||||
|
||||
// N controls how many iterations of certain checks are performed.
|
||||
const N = 100;
|
||||
|
||||
export function init(): Uint8Array {
|
||||
const testBytes = new Uint8Array(N);
|
||||
for (let i = 0; i < N; i++) {
|
||||
testBytes[i] = "a".charCodeAt(0) + (i % 26);
|
||||
}
|
||||
return testBytes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that a transform stream produces the expected output data
|
||||
* @param transform The transform stream to test
|
||||
|
Loading…
Reference in New Issue
Block a user