chore(streams): remove unused test util (#5048)

This commit is contained in:
Yoshiya Hinosawa 2024-06-17 11:27:30 +09:00 committed by GitHub
parent d35f8a3c2d
commit 43bf28efcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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