Solve 2025-06

This commit is contained in:
2025-12-06 12:46:50 +01:00
parent ef9e5ba9a8
commit 6fbb902b32
4 changed files with 87 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { describe, expect, it } from 'bun:test';
import { solveFirst, solveSecond } from './index.ts';
describe('2025-06', () => {
const testInput = `123 328 51 64
45 64 387 23
6 98 215 314
* + * + `;
it('first', () => {
expect(solveFirst(testInput)).toBe(4277556);
});
it('second', () => {
expect(solveSecond(testInput)).toBe(3263827);
});
});