Files
aoc/2024/25/index.test.ts
T
2024-12-25 11:31:41 +01:00

48 lines
433 B
TypeScript

import { describe, expect, it } from 'bun:test';
import { solveFirst } from './index.ts';
describe('2024-25', () => {
it('first', () => {
const testInput = `#####
.####
.####
.####
.#.#.
.#...
.....
#####
##.##
.#.##
...##
...#.
...#.
.....
.....
#....
#....
#...#
#.#.#
#.###
#####
.....
.....
#.#..
###..
###.#
###.#
#####
.....
.....
.....
#....
#.#..
#.#.#
#####`;
expect(solveFirst(testInput)).toBe(3);
});
});