25 lines
564 B
JavaScript
25 lines
564 B
JavaScript
|
import { test, expect, describe } from "vitest";
|
||
|
|
||
|
import { expectSolution } from "../01/main.js";
|
||
|
import {
|
||
|
solutionPart1,
|
||
|
puzzleInput,
|
||
|
sample,
|
||
|
} from "./part1.js";
|
||
|
import { solutionPart2 } from "./part2.js";
|
||
|
|
||
|
describe("part 1", () => {
|
||
|
test("sample", () => {
|
||
|
expectSolution(solutionPart1(sample)).toEqual(2);
|
||
|
});
|
||
|
test("solution", () => {
|
||
|
expectSolution(solutionPart1(puzzleInput)).toEqual('TODO');
|
||
|
});
|
||
|
});
|
||
|
|
||
|
describe("part 2", () => {
|
||
|
test.todo("solution", () => {
|
||
|
expectSolution(solutionPart2(puzzleInput)).toEqual('TODO');
|
||
|
});
|
||
|
});
|