Skip to content

Commit 773130c

Browse files
day04 for AoC 2023 (part 2) fix tests
Took 4 minutes
1 parent f90dc78 commit 773130c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,9 @@ build/
3737

3838
### Mac OS ###
3939
.DS_Store
40-
/src/main/resources/cookie.txt
40+
41+
### Personal cookies
42+
**/cookies.txt
43+
44+
### Personal inputs
45+
**/*_input.txt

src/test/java/aminetti/adventofcode2024/day04/Day04Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void actualInputPart2() throws IOException {
5252
long l = solver.solvePart2();
5353

5454
// then
55-
assertThat(l, is(0L));
55+
assertThat(l, is(1948L));
5656
}
5757

5858
@Test
@@ -66,7 +66,7 @@ void testInputPart2() throws IOException {
6666
long l = solver.solvePart2();
6767

6868
// then
69-
assertThat(l, is(0L));
69+
assertThat(l, is(9L));
7070
}
7171

7272

0 commit comments

Comments
 (0)