add more tests

This commit is contained in:
Schluffe
2026-08-11 00:56:55 +02:00
parent 81eaeda05a
commit 09b6282a2e
6 changed files with 37 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
import { expect, test } from "vitest";
import { type Box, box } from "./box.ts";
test("box", () => {
const b: Box<number> = box(42);
expect(b).toEqual({ value: 42 });
});