This commit expands the test coverage for the `chachapoly` package to include error and edge cases. It also adds `go.sum` to the `.gitignore` file.
12 lines
388 B
TypeScript
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");
|
|
});
|
|
|