Solve 2025-03

This commit is contained in:
2025-12-03 11:10:47 +01:00
parent 0ec2cf656d
commit b43c9bba56
4 changed files with 79 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-03', () => {
const testInput = `987654321111111
811111111111119
234234234234278
818181911112111`;
it('first', () => {
expect(solveFirst(testInput)).toBe(357);
});
it('second', () => {
expect(solveSecond(testInput)).toBe(3121910778619);
});
});