Enchantrix/vault/lib/parse/file.test.ts
google-labs-jules[bot] c1434a45ce feat: Port crypt library from Core
This commit ports the crypt library from the Core repository to the Enchantrix repository. It includes the following changes:

- The project is now a Go module.
- The `lthn` and `crypt` packages have been ported from the Core repository.
- The PGP functionality has been commented out pending resolution of dependency issues.
- The old Deno project has been moved to the `vault` directory.
- The README has been updated to reflect the new project structure.
2025-10-30 17:11:31 +00:00

12 lines
388 B
TypeScript

import { assertEquals } from "https://deno.land/std@0.122.0/testing/asserts.ts";
import { EnchantrixParseFile } from "./file.ts";
// Compact form: name and function
//
// where "snider" is the mapping and "r3dinS" is the binary return.
//
Deno.test("IN: Snider OUT: r3dinS", () => {
const x = new EnchantrixParseFile(".dataset/Dont-Panic.webp").load();
assertEquals(x, "r3dinS");
});