Solve 2025-05
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user