mirror of
https://github.com/zap-proto/zap-es.git
synced 2026-10-30 15:02:55 +00:00
10 lines
266 B
TypeScript
10 lines
266 B
TypeScript
// Based on https://github.com/jdiaz5513/capnp-ts (MIT - Julián Díaz)
|
|
|
|
import { test, assert as t } from "vitest";
|
|
|
|
import { ObjectSize } from "zap-es";
|
|
|
|
test("ObjectSize.toString()", () => {
|
|
t.equal(new ObjectSize(8, 1).toString(), "ObjectSize_dw:1,pc:1");
|
|
});
|