diff --git a/src/2020-day-03.ts b/src/2020-day-03.ts index f254e71..1bae049 100644 --- a/src/2020-day-03.ts +++ b/src/2020-day-03.ts @@ -63,10 +63,6 @@ describe('Day 02', () => { }, 1); }); }); - it('mark', () => { - - task02(2, 1, input); - }); after(() => { console.log('\ntask 01:', tasksResults[0]); console.log('\ntask 02:', tasksResults[1]); @@ -99,8 +95,5 @@ function isTreeLocation(panels: number, col: number, pattern: string): boolean { for (let i = 0; i < panels; i++) { c += pattern; } - // if (c.charAt(col) === '#') { - // console.log(c.substr(0, col) + 'X' + c.substr(col + 1)); - // } return c.charAt(col) === '#'; } \ No newline at end of file