Solve 2025-09

This commit is contained in:
2025-12-10 13:40:27 +01:00
parent 5421fde574
commit 875e5c1680
4 changed files with 116 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { describe, expect, it } from 'bun:test';
import { solveFirst, solveSecond } from './index.ts';
describe('2025-09', () => {
const testInput = `7,1
11,1
11,7
9,7
9,5
2,5
2,3
7,3`;
it('first', () => {
expect(solveFirst(testInput)).toBe(50);
});
it('second', () => {
expect(solveSecond(testInput)).toBe(25);
});
});