Browse Source

add template for a new day

main
Yanick Champoux 6 months ago
parent
commit
e21830bd4e
  1. 1
      2022/template/part1.js
  2. 2
      2022/template/part2.js
  3. 20
      2022/template/test.js

1
2022/template/part1.js

@ -0,0 +1 @@ @@ -0,0 +1 @@
import * as R from "remeda";

2
2022/template/part2.js

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
import * as R from "remeda";

20
2022/template/test.js

@ -0,0 +1,20 @@ @@ -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');
});
});
Loading…
Cancel
Save