Solve 2026-01
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import { describe, expect, it } from 'bun:test';
|
||||
import { solveFirst, solveSecond } from './index.ts';
|
||||
|
||||
describe('2026-01', () => {
|
||||
const testInput = `57
|
||||
57
|
||||
55
|
||||
57
|
||||
76
|
||||
78
|
||||
57
|
||||
45
|
||||
43
|
||||
78
|
||||
43
|
||||
76
|
||||
43
|
||||
78
|
||||
57
|
||||
45
|
||||
57
|
||||
76
|
||||
43
|
||||
43
|
||||
76`;
|
||||
it('first', () => {
|
||||
expect(solveFirst(testInput)).toBe(186276);
|
||||
});
|
||||
it('second', () => {
|
||||
expect(solveSecond(testInput)).toBe(193050);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user