28 lines
805 B
TypeScript
28 lines
805 B
TypeScript
import { readlines } from "../../_utils";
|
|
|
|
const solution = require("./solution");
|
|
|
|
describe("day 5: supply stacks, pt 1", () => {
|
|
test("sample input", async () => {
|
|
const sample = await readlines("./day_05/sample.txt");
|
|
expect(solution.part1_solver(sample)).toBe("");
|
|
});
|
|
|
|
test("submission input", async () => {
|
|
const input = await readlines("./day_05/input.txt");
|
|
expect(solution.part1_solver(input)).toBe("");
|
|
});
|
|
});
|
|
|
|
describe("day 5: supply stacks, pt 2", () => {
|
|
test("sample input", async () => {
|
|
const sample = await readlines("./day_05/sample.txt");
|
|
expect(solution.part2_solver(sample)).toBe(0);
|
|
});
|
|
|
|
test("submission input", async () => {
|
|
const input = await readlines("./day_05/input.txt");
|
|
expect(solution.part2_solver(input)).toBe(0);
|
|
});
|
|
});
|