feat: RNG 테스트 파일 추가 및 기존 테스트 파일 삭제

This commit is contained in:
2025-12-28 12:51:57 +00:00
parent cbea41ffbc
commit 4dbbcca9d9
2 changed files with 4 additions and 2 deletions
@@ -1,11 +1,12 @@
import { describe, expect, it } from 'vitest';
import {
bufferByteSize,
convertBytesLikeToArrayBuffer,
convertBytesLikeToUint8Array as toBytes,
LiteHashDRBG,
RandUtil,
} from '@sammo-ts/common';
} from '../src/index.js';
type Bytes = ArrayBuffer | DataView<ArrayBuffer> | Uint8Array<ArrayBuffer>;
type MaybeBytes = Bytes | string;
@@ -1,5 +1,6 @@
import { describe, expect, it } from 'vitest';
import { ConstantRNG, MidpointRNG, SequenceRNG, SineRNG } from '@sammo-ts/common';
import { ConstantRNG, MidpointRNG, SequenceRNG, SineRNG } from '../src/index.js';
const toArray = (bytes: Uint8Array): number[] => Array.from(bytes);