From 0223d8e8e374e6f1e3af2e0be93229b549489fcc Mon Sep 17 00:00:00 2001 From: HJ Date: Sun, 10 Dec 2023 10:30:01 -0500 Subject: day 10 gleam complete --- aoc2023/test/day10/day10_test.gleam | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'aoc2023/test/day10') 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 -- cgit v1.2.3