Solve 2025-05

This commit is contained in:
2025-12-05 08:46:03 +01:00
parent fed21d417d
commit ef9e5ba9a8
4 changed files with 77 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { describe, expect, it } from 'bun:test';
import { solveFirst, solveSecond } from './index.ts';
describe('2025-05', () => {
const testInput = `3-5
10-14
16-20
12-18
1
5
8
11
17
32`;
it('first', () => {
expect(solveFirst(testInput)).toBe(3);
});
it('second', () => {
expect(solveSecond(testInput)).toBe(14);
});
});