diff options
author | HJ <thechairman@thechairman.info> | 2023-12-10 10:30:01 -0500 |
---|---|---|
committer | HJ <thechairman@thechairman.info> | 2023-12-10 10:30:01 -0500 |
commit | 0223d8e8e374e6f1e3af2e0be93229b549489fcc (patch) | |
tree | ccf1535af18347ae98e2a13248cd59ed4763cb05 /aoc2023/test/day10 | |
parent | b7817b4c9680ec2fdc021b17a8d3f4fbee2929d5 (diff) | |
download | gleam_aoc-0223d8e8e374e6f1e3af2e0be93229b549489fcc.tar.gz gleam_aoc-0223d8e8e374e6f1e3af2e0be93229b549489fcc.zip |
day 10 gleam complete
Diffstat (limited to 'aoc2023/test/day10')
-rw-r--r-- | aoc2023/test/day10/day10_test.gleam | 26 |
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 |