Cleanup
This commit is contained in:
parent
d2e5d7c9b4
commit
799868f198
|
@ -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) === '#';
|
||||
}
|
Loading…
Reference in New Issue