aboutsummaryrefslogtreecommitdiff
path: root/aoc2023/test/day10/day10_test.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'aoc2023/test/day10/day10_test.gleam')
-rw-r--r--aoc2023/test/day10/day10_test.gleam26
1 files changed, 24 insertions, 2 deletions
diff --git a/aoc2023/test/day10/day10_test.gleam b/aoc2023/test/day10/day10_test.gleam
index 0df62a3..be9d82e 100644
--- a/aoc2023/test/day10/day10_test.gleam
+++ b/aoc2023/test/day10/day10_test.gleam
@@ -13,13 +13,35 @@ type Problem2AnswerType =
/// ```gleam
///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = []
+const part1_examples: List(Example(Problem1AnswerType)) = [
+ Example(
+ "7-F7-
+.FJ|7
+SJLL7
+|F--J
+LJ.LJ",
+ "8",
+ ),
+]
/// Add examples for part 2 here:
/// ```gleam
///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = []
+const part2_examples: List(Example(Problem2AnswerType)) = [
+ Example(
+ "...........
+.S-------7.
+.|F-----7|.
+.||OOOOO||.
+.||OOOOO||.
+.|L-7OF-J|.
+.|II|O|II|.
+.L--JOL--J.
+.....O.....",
+ "4",
+ ),
+]
pub fn part1_test() {
part1_examples