diff --git a/2022/template/part1.js b/2022/template/part1.js new file mode 100644 index 0000000..b509eb0 --- /dev/null +++ b/2022/template/part1.js @@ -0,0 +1 @@ +import * as R from "remeda"; diff --git a/2022/template/part2.js b/2022/template/part2.js new file mode 100644 index 0000000..31477e8 --- /dev/null +++ b/2022/template/part2.js @@ -0,0 +1,2 @@ +import * as R from "remeda"; + diff --git a/2022/template/test.js b/2022/template/test.js new file mode 100644 index 0000000..9859a0e --- /dev/null +++ b/2022/template/test.js @@ -0,0 +1,20 @@ +import { test, expect, describe } from "vitest"; + +import { expectSolution } from "../01/main.js"; +import { + solutionPart1, + puzzleInput, +} from "./part1.js"; +import { solutionPart2 } from "./part2.js"; + +describe("part 1", () => { + test.todo("solution", () => { + expectSolution(solutionPart1(puzzleInput)).toEqual('TODO'); + }); +}); + +describe("part 2", () => { + test.todo("solution", () => { + expectSolution(solutionPart2(puzzleInput)).toEqual('TODO'); + }); +});