This commit is contained in:
Pilot 2020-12-03 01:54:40 -05:00 committed by pilot
parent d2e5d7c9b4
commit 799868f198
1 changed files with 0 additions and 7 deletions

View File

@ -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) === '#';
}