Skip to content

Commit

Permalink
write golden.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javran committed Jan 19, 2024
1 parent 435d21f commit 83ba48e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Solutions, scripting, and templates - all in one repo.
| `<++++++++>` | `<++++++++>` | `<++++++++>` | `<++++++++>` | `<++++++++>` |
| :-: | :-: | :-: | :-: | :-: |
|[Day 1](src/Javran/AdventOfCode/Y2023/Day1.hs) |[Day 2](src/Javran/AdventOfCode/Y2023/Day2.hs) |[Day 3](src/Javran/AdventOfCode/Y2023/Day3.hs) |[Day 4](src/Javran/AdventOfCode/Y2023/Day4.hs) |[Day 5](src/Javran/AdventOfCode/Y2023/Day5.hs) |
|[Day 6](src/Javran/AdventOfCode/Y2023/Day6.hs) |[Day 7](src/Javran/AdventOfCode/Y2023/Day7.hs) |[Day 8](src/Javran/AdventOfCode/Y2023/Day8.hs) |[Day 9](src/Javran/AdventOfCode/Y2023/Day9.hs) | [Day 10](src/Javran/AdventOfCode/Y2023/Day10.hs) |
|[Day 6](src/Javran/AdventOfCode/Y2023/Day6.hs) |[Day 7](src/Javran/AdventOfCode/Y2023/Day7.hs) |[Day 8](src/Javran/AdventOfCode/Y2023/Day8.hs) |[Day 9](src/Javran/AdventOfCode/Y2023/Day9.hs) | [Day 10](src/Javran/AdventOfCode/Y2023/Day10.hs) |

### 2022

Expand Down
2 changes: 2 additions & 0 deletions data/testdata/2023/day/10/e2.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
8
1
2 changes: 2 additions & 0 deletions data/testdata/2023/day/10/example.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
4
1
2 changes: 2 additions & 0 deletions data/testdata/2023/day/10/p2-1.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
23
4
2 changes: 2 additions & 0 deletions data/testdata/2023/day/10/p2-2.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
70
8
2 changes: 2 additions & 0 deletions data/testdata/2023/day/10/p2-3.expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
80
10
2 changes: 1 addition & 1 deletion src/Javran/AdventOfCode/Y2023/Day10.hs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ findMainLoop gAll s (a, b) lts = length $ M.keys $ M.filter (== 4) contrib
[(p,1), ((r,c+1), 1)]

instance Solution Day10 where
solutionSolved _ = False
solutionSolved _ = True
solutionRun _ SolutionContext {getInputS, answerShow} = do
raw <- lines <$> getInputS
let parsed@(g, s) = parseFromRaw raw
Expand Down
2 changes: 1 addition & 1 deletion test/Javran/AdventOfCode/TestdataSpec.hs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83ba48e

Please sign in to comment.