Solve 2024-25

This commit is contained in:
2024-12-25 11:31:41 +01:00
parent a09f9ff219
commit acd66b28ac
4 changed files with 97 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
import { describe, expect, it } from 'bun:test';
import { solveFirst } from './index.ts';
describe('2024-25', () => {
it('first', () => {
const testInput = `#####
.####
.####
.####
.#.#.
.#...
.....
#####
##.##
.#.##
...##
...#.
...#.
.....
.....
#....
#....
#...#
#.#.#
#.###
#####
.....
.....
#.#..
###..
###.#
###.#
#####
.....
.....
.....
#....
#.#..
#.#.#
#####`;
expect(solveFirst(testInput)).toBe(3);
});
});