aboutsummaryrefslogtreecommitdiff
path: root/aoc2023-gleam/test
diff options
context:
space:
mode:
Diffstat (limited to 'aoc2023-gleam/test')
-rw-r--r--aoc2023-gleam/test/aoc2023_test.gleam5
-rw-r--r--aoc2023-gleam/test/day1/day1_test.gleam57
-rw-r--r--aoc2023-gleam/test/day10/day10_test.gleam60
-rw-r--r--aoc2023-gleam/test/day11/day11_test.gleam66
-rw-r--r--aoc2023-gleam/test/day12/day12_test.gleam48
-rw-r--r--aoc2023-gleam/test/day13/day13_test.gleam76
-rw-r--r--aoc2023-gleam/test/day14/day14_test.gleam66
-rw-r--r--aoc2023-gleam/test/day15/day15_test.gleam42
-rw-r--r--aoc2023-gleam/test/day16/day16_test.gleam66
-rw-r--r--aoc2023-gleam/test/day17/day17_test.gleam54
-rw-r--r--aoc2023-gleam/test/day18/day18_test.gleam74
-rw-r--r--aoc2023-gleam/test/day19/day19_test.gleam80
-rw-r--r--aoc2023-gleam/test/day2/day2_test.gleam57
-rw-r--r--aoc2023-gleam/test/day20/day20_test.gleam55
-rw-r--r--aoc2023-gleam/test/day21/day21_test.gleam38
-rw-r--r--aoc2023-gleam/test/day22/day22_test.gleam60
-rw-r--r--aoc2023-gleam/test/day23/day23_test.gleam92
-rw-r--r--aoc2023-gleam/test/day3/day3_test.gleam66
-rw-r--r--aoc2023-gleam/test/day4/day4_test.gleam58
-rw-r--r--aoc2023-gleam/test/day5/day5_test.gleam112
-rw-r--r--aoc2023-gleam/test/day6/day6_test.gleam50
-rw-r--r--aoc2023-gleam/test/day7/day7_test.gleam56
-rw-r--r--aoc2023-gleam/test/day8/day8_test.gleam61
-rw-r--r--aoc2023-gleam/test/day9/day9_test.gleam52
24 files changed, 0 insertions, 1451 deletions
diff --git a/aoc2023-gleam/test/aoc2023_test.gleam b/aoc2023-gleam/test/aoc2023_test.gleam
deleted file mode 100644
index 2b696a4..0000000
--- a/aoc2023-gleam/test/aoc2023_test.gleam
+++ /dev/null
@@ -1,5 +0,0 @@
-import showtime
-
-pub fn main() {
- showtime.main()
-}
diff --git a/aoc2023-gleam/test/day1/day1_test.gleam b/aoc2023-gleam/test/day1/day1_test.gleam
deleted file mode 100644
index 374653c..0000000
--- a/aoc2023-gleam/test/day1/day1_test.gleam
+++ /dev/null
@@ -1,57 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day1/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "1abc2
-pqr3stu8vwx
-a1b2c3d4e5f
-treb7uchet",
- "142",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "two1nine
-eightwothree
-abcone2threexyz
-xtwone3four
-4nineeightseven2
-zoneight234
-7pqrstsixteen",
- "281",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day10/day10_test.gleam b/aoc2023-gleam/test/day10/day10_test.gleam
deleted file mode 100644
index be9d82e..0000000
--- a/aoc2023-gleam/test/day10/day10_test.gleam
+++ /dev/null
@@ -1,60 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day10/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-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)) = [
- Example(
- "...........
-.S-------7.
-.|F-----7|.
-.||OOOOO||.
-.||OOOOO||.
-.|L-7OF-J|.
-.|II|O|II|.
-.L--JOL--J.
-.....O.....",
- "4",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day11/day11_test.gleam b/aoc2023-gleam/test/day11/day11_test.gleam
deleted file mode 100644
index 8bb8c06..0000000
--- a/aoc2023-gleam/test/day11/day11_test.gleam
+++ /dev/null
@@ -1,66 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day11/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "...#......
-.......#..
-#.........
-..........
-......#...
-.#........
-.........#
-..........
-.......#..
-#...#.....",
- "374",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "...#......
-.......#..
-#.........
-..........
-......#...
-.#........
-.........#
-..........
-.......#..
-#...#.....",
- "8410",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day12/day12_test.gleam b/aoc2023-gleam/test/day12/day12_test.gleam
deleted file mode 100644
index 3daf0e9..0000000
--- a/aoc2023-gleam/test/day12/day12_test.gleam
+++ /dev/null
@@ -1,48 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day12/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "???.### 1,1,3
-.??..??...?##. 1,1,3
-?#?#?#?#?#?#?#? 1,3,1,6
-????.#...#... 4,1,1
-????.######..#####. 1,6,5
-?###???????? 3,2,1",
- "21",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = []
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day13/day13_test.gleam b/aoc2023-gleam/test/day13/day13_test.gleam
deleted file mode 100644
index 7c65bed..0000000
--- a/aoc2023-gleam/test/day13/day13_test.gleam
+++ /dev/null
@@ -1,76 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day13/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "#.##..##.
-..#.##.#.
-##......#
-##......#
-..#.##.#.
-..##..##.
-#.#.##.#.
-
-#...##..#
-#....#..#
-..##..###
-#####.##.
-#####.##.
-..##..###
-#....#..#",
- "405",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "#.##..##.
-..#.##.#.
-##......#
-##......#
-..#.##.#.
-..##..##.
-#.#.##.#.
-
-#...##..#
-#....#..#
-..##..###
-#####.##.
-#####.##.
-..##..###
-#....#..#",
- "400",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day14/day14_test.gleam b/aoc2023-gleam/test/day14/day14_test.gleam
deleted file mode 100644
index 8efa74e..0000000
--- a/aoc2023-gleam/test/day14/day14_test.gleam
+++ /dev/null
@@ -1,66 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day14/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "O....#....
-O.OO#....#
-.....##...
-OO.#O....O
-.O.....O#.
-O.#..O.#.#
-..O..#O..O
-.......O..
-#....###..
-#OO..#....",
- "136",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "O....#....
-O.OO#....#
-.....##...
-OO.#O....O
-.O.....O#.
-O.#..O.#.#
-..O..#O..O
-.......O..
-#....###..
-#OO..#....",
- "64",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day15/day15_test.gleam b/aoc2023-gleam/test/day15/day15_test.gleam
deleted file mode 100644
index 0ecaecc..0000000
--- a/aoc2023-gleam/test/day15/day15_test.gleam
+++ /dev/null
@@ -1,42 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day15/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example("rn=1,cm-,qp=3,cm=2,qp-,pc=4,ot=9,ab=5,pc-,pc=6,ot=7", "1320"),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example("rn=1,cm-,qp=3,cm=2,qp-,pc=4,ot=9,ab=5,pc-,pc=6,ot=7", "145"),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day16/day16_test.gleam b/aoc2023-gleam/test/day16/day16_test.gleam
deleted file mode 100644
index 036504e..0000000
--- a/aoc2023-gleam/test/day16/day16_test.gleam
+++ /dev/null
@@ -1,66 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day16/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- ".|...\\....
-|.-.\\.....
-.....|-...
-........|.
-..........
-.........\\
-..../.\\\\..
-.-.-/..|..
-.|....-|.\\
-..//.|....",
- 46,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- ".|...\\....
-|.-.\\.....
-.....|-...
-........|.
-..........
-.........\\
-..../.\\\\..
-.-.-/..|..
-.|....-|.\\
-..//.|....",
- 51,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day17/day17_test.gleam b/aoc2023-gleam/test/day17/day17_test.gleam
deleted file mode 100644
index 2ce48e2..0000000
--- a/aoc2023-gleam/test/day17/day17_test.gleam
+++ /dev/null
@@ -1,54 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day17/solve
-
-type Problem1AnswerType =
- String
-
-// type Problem2AnswerType =
-// String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "2413432311323
-3215453535623
-3255245654254
-3446585845452
-4546657867536
-1438598798454
-4457876987766
-3637877979653
-4654967986887
-4564679986453
-1224686865563
-2546548887735
-4322674655533",
- "102",
- ),
-]
-
-// /// ```
-// const part2_examples: List(Example(Problem2AnswerType)) = []
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-// pub fn part2_test() {
-// part2_examples
-// |> should.not_equal([])
-// use example <- list.map(part2_examples)
-// solve.part2(example.input)
-// |> should.equal(example.answer)
-// }
diff --git a/aoc2023-gleam/test/day18/day18_test.gleam b/aoc2023-gleam/test/day18/day18_test.gleam
deleted file mode 100644
index 7b510c8..0000000
--- a/aoc2023-gleam/test/day18/day18_test.gleam
+++ /dev/null
@@ -1,74 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day18/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "R 6 (#70c710)
-D 5 (#0dc571)
-L 2 (#5713f0)
-D 2 (#d2c081)
-R 2 (#59c680)
-D 2 (#411b91)
-L 5 (#8ceee2)
-U 2 (#caa173)
-L 1 (#1b58a2)
-U 2 (#caa171)
-R 2 (#7807d2)
-U 3 (#a77fa3)
-L 2 (#015232)
-U 2 (#7a21e3)",
- "62",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "R 6 (#70c710)
-D 5 (#0dc571)
-L 2 (#5713f0)
-D 2 (#d2c081)
-R 2 (#59c680)
-D 2 (#411b91)
-L 5 (#8ceee2)
-U 2 (#caa173)
-L 1 (#1b58a2)
-U 2 (#caa171)
-R 2 (#7807d2)
-U 3 (#a77fa3)
-L 2 (#015232)
-U 2 (#7a21e3)",
- "952408144115",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day19/day19_test.gleam b/aoc2023-gleam/test/day19/day19_test.gleam
deleted file mode 100644
index c911de5..0000000
--- a/aoc2023-gleam/test/day19/day19_test.gleam
+++ /dev/null
@@ -1,80 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day19/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "px{a<2006:qkq,m>2090:A,rfg}
-pv{a>1716:R,A}
-lnx{m>1548:A,A}
-rfg{s<537:gd,x>2440:R,A}
-qs{s>3448:A,lnx}
-qkq{x<1416:A,crn}
-crn{x>2662:A,R}
-in{s<1351:px,qqz}
-qqz{s>2770:qs,m<1801:hdj,R}
-gd{a>3333:R,R}
-hdj{m>838:A,pv}
-
-{x=787,m=2655,a=1222,s=2876}
-{x=1679,m=44,a=2067,s=496}
-{x=2036,m=264,a=79,s=2244}
-{x=2461,m=1339,a=466,s=291}
-{x=2127,m=1623,a=2188,s=1013}",
- "19114",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "px{a<2006:qkq,m>2090:A,rfg}
-pv{a>1716:R,A}
-lnx{m>1548:A,A}
-rfg{s<537:gd,x>2440:R,A}
-qs{s>3448:A,lnx}
-qkq{x<1416:A,crn}
-crn{x>2662:A,R}
-in{s<1351:px,qqz}
-qqz{s>2770:qs,m<1801:hdj,R}
-gd{a>3333:R,R}
-hdj{m>838:A,pv}
-
-{x=787,m=2655,a=1222,s=2876}
-{x=1679,m=44,a=2067,s=496}
-{x=2036,m=264,a=79,s=2244}
-{x=2461,m=1339,a=466,s=291}
-{x=2127,m=1623,a=2188,s=1013}",
- "167409079868000",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day2/day2_test.gleam b/aoc2023-gleam/test/day2/day2_test.gleam
deleted file mode 100644
index 28a65da..0000000
--- a/aoc2023-gleam/test/day2/day2_test.gleam
+++ /dev/null
@@ -1,57 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day2/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green
-Game 2: 1 blue, 2 green; 3 green, 4 blue, 1 red; 1 green, 1 blue
-Game 3: 8 green, 6 blue, 20 red; 5 blue, 4 red, 13 green; 5 green, 1 red
-Game 4: 1 green, 3 red, 6 blue; 3 green, 6 red; 3 green, 15 blue, 14 red
-Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green",
- 8,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green
-Game 2: 1 blue, 2 green; 3 green, 4 blue, 1 red; 1 green, 1 blue
-Game 3: 8 green, 6 blue, 20 red; 5 blue, 4 red, 13 green; 5 green, 1 red
-Game 4: 1 green, 3 red, 6 blue; 3 green, 6 red; 3 green, 15 blue, 14 red
-Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green",
- 2286,
- ),
- Example("Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green", 48),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day20/day20_test.gleam b/aoc2023-gleam/test/day20/day20_test.gleam
deleted file mode 100644
index 9b79b05..0000000
--- a/aoc2023-gleam/test/day20/day20_test.gleam
+++ /dev/null
@@ -1,55 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day20/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "broadcaster -> a, b, c
-%a -> b
-%b -> c
-%c -> inv
-&inv -> a",
- "32000000",
- ),
- Example(
- "broadcaster -> a
-%a -> inv, con
-&inv -> b
-%b -> con
-&con -> output
-output -> ",
- "11687500",
- ),
-]
-
-// const part2_examples: List(Example(Problem2AnswerType)) = []
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-// pub fn part2_test() {
-// part2_examples
-// |> should.not_equal([])
-// use example <- list.map(part2_examples)
-// solve.part2(example.input)
-// |> should.equal(example.answer)
-// }
diff --git a/aoc2023-gleam/test/day21/day21_test.gleam b/aoc2023-gleam/test/day21/day21_test.gleam
deleted file mode 100644
index 5f46808..0000000
--- a/aoc2023-gleam/test/day21/day21_test.gleam
+++ /dev/null
@@ -1,38 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day21/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = []
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = []
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day22/day22_test.gleam b/aoc2023-gleam/test/day22/day22_test.gleam
deleted file mode 100644
index 3f8c0ca..0000000
--- a/aoc2023-gleam/test/day22/day22_test.gleam
+++ /dev/null
@@ -1,60 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day22/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "1,0,1~1,2,1
-0,0,2~2,0,2
-0,2,3~2,2,3
-0,0,4~0,2,4
-2,0,5~2,2,5
-0,1,6~2,1,6
-1,1,8~1,1,9",
- 5,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "1,0,1~1,2,1
-0,0,2~2,0,2
-0,2,3~2,2,3
-0,0,4~0,2,4
-2,0,5~2,2,5
-0,1,6~2,1,6
-1,1,8~1,1,9",
- 7,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day23/day23_test.gleam b/aoc2023-gleam/test/day23/day23_test.gleam
deleted file mode 100644
index 206571c..0000000
--- a/aoc2023-gleam/test/day23/day23_test.gleam
+++ /dev/null
@@ -1,92 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day23/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "#.#####################
-#.......#########...###
-#######.#########.#.###
-###.....#.>.>.###.#.###
-###v#####.#v#.###.#.###
-###.>...#.#.#.....#...#
-###v###.#.#.#########.#
-###...#.#.#.......#...#
-#####.#.#.#######.#.###
-#.....#.#.#.......#...#
-#.#####.#.#.#########v#
-#.#...#...#...###...>.#
-#.#.#v#######v###.###v#
-#...#.>.#...>.>.#.###.#
-#####v#.#.###v#.#.###.#
-#.....#...#...#.#.#...#
-#.#########.###.#.#.###
-#...###...#...#...#.###
-###.###.#.###v#####v###
-#...#...#.#.>.>.#.>.###
-#.###.###.#.###.#.#v###
-#.....###...###...#...#
-#####################.#",
- 94,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "#.#####################
-#.......#########...###
-#######.#########.#.###
-###.....#.>.>.###.#.###
-###v#####.#v#.###.#.###
-###.>...#.#.#.....#...#
-###v###.#.#.#########.#
-###...#.#.#.......#...#
-#####.#.#.#######.#.###
-#.....#.#.#.......#...#
-#.#####.#.#.#########v#
-#.#...#...#...###...>.#
-#.#.#v#######v###.###v#
-#...#.>.#...>.>.#.###.#
-#####v#.#.###v#.#.###.#
-#.....#...#...#.#.#...#
-#.#########.###.#.#.###
-#...###...#...#...#.###
-###.###.#.###v#####v###
-#...#...#.#.>.>.#.>.###
-#.###.###.#.###.#.#v###
-#.....###...###...#...#
-#####################.#",
- 154,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day3/day3_test.gleam b/aoc2023-gleam/test/day3/day3_test.gleam
deleted file mode 100644
index 30e17a9..0000000
--- a/aoc2023-gleam/test/day3/day3_test.gleam
+++ /dev/null
@@ -1,66 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day3/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "467..114..
-...*......
-..35..633.
-......#...
-617*......
-.....+.58.
-..592.....
-......755.
-...$.*....
-.664.598..",
- 4361,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "467..114..
-...*......
-..35..633.
-......#...
-617*......
-.....+.58.
-..592.....
-......755.
-...$.*....
-.664.598..",
- 467_835,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day4/day4_test.gleam b/aoc2023-gleam/test/day4/day4_test.gleam
deleted file mode 100644
index 324fe36..0000000
--- a/aoc2023-gleam/test/day4/day4_test.gleam
+++ /dev/null
@@ -1,58 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day4/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "Card 1: 41 48 83 86 17 | 83 86 6 31 17 9 48 53
-Card 2: 13 32 20 16 61 | 61 30 68 82 17 32 24 19
-Card 3: 1 21 53 59 44 | 69 82 63 72 16 21 14 1
-Card 4: 41 92 73 84 69 | 59 84 76 51 58 5 54 83
-Card 5: 87 83 26 28 32 | 88 30 70 12 93 22 82 36
-Card 6: 31 18 13 56 72 | 74 77 10 23 35 67 36 11",
- 13,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "Card 1: 41 48 83 86 17 | 83 86 6 31 17 9 48 53
-Card 2: 13 32 20 16 61 | 61 30 68 82 17 32 24 19
-Card 3: 1 21 53 59 44 | 69 82 63 72 16 21 14 1
-Card 4: 41 92 73 84 69 | 59 84 76 51 58 5 54 83
-Card 5: 87 83 26 28 32 | 88 30 70 12 93 22 82 36
-Card 6: 31 18 13 56 72 | 74 77 10 23 35 67 36 11",
- 30,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day5/day5_test.gleam b/aoc2023-gleam/test/day5/day5_test.gleam
deleted file mode 100644
index 86a8692..0000000
--- a/aoc2023-gleam/test/day5/day5_test.gleam
+++ /dev/null
@@ -1,112 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day5/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "seeds: 79 14 55 13
-
-seed-to-soil map:
-50 98 2
-52 50 48
-
-soil-to-fertilizer map:
-0 15 37
-37 52 2
-39 0 15
-
-fertilizer-to-water map:
-49 53 8
-0 11 42
-42 0 7
-57 7 4
-
-water-to-light map:
-88 18 7
-18 25 70
-
-light-to-temperature map:
-45 77 23
-81 45 19
-68 64 13
-
-temperature-to-humidity map:
-0 69 1
-1 0 69
-
-humidity-to-location map:
-60 56 37
-56 93 4",
- "35",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "seeds: 79 14 55 13
-
-seed-to-soil map:
-50 98 2
-52 50 48
-
-soil-to-fertilizer map:
-0 15 37
-37 52 2
-39 0 15
-
-fertilizer-to-water map:
-49 53 8
-0 11 42
-42 0 7
-57 7 4
-
-water-to-light map:
-88 18 7
-18 25 70
-
-light-to-temperature map:
-45 77 23
-81 45 19
-68 64 13
-
-temperature-to-humidity map:
-0 69 1
-1 0 69
-
-humidity-to-location map:
-60 56 37
-56 93 4",
- "46",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day6/day6_test.gleam b/aoc2023-gleam/test/day6/day6_test.gleam
deleted file mode 100644
index c551993..0000000
--- a/aoc2023-gleam/test/day6/day6_test.gleam
+++ /dev/null
@@ -1,50 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day6/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "Time: 7 15 30
-Distance: 9 40 200",
- "288",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "Time: 7 15 30
-Distance: 9 40 200",
- "71503",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day7/day7_test.gleam b/aoc2023-gleam/test/day7/day7_test.gleam
deleted file mode 100644
index f7f8454..0000000
--- a/aoc2023-gleam/test/day7/day7_test.gleam
+++ /dev/null
@@ -1,56 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day7/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "32T3K 765
-T55J5 684
-KK677 28
-KTJJT 220
-QQQJA 483",
- "6440",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "32T3K 765
-T55J5 684
-KK677 28
-KTJJT 220
-QQQJA 483",
- "5905",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day8/day8_test.gleam b/aoc2023-gleam/test/day8/day8_test.gleam
deleted file mode 100644
index 2cd499a..0000000
--- a/aoc2023-gleam/test/day8/day8_test.gleam
+++ /dev/null
@@ -1,61 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day8/solve
-
-type Problem1AnswerType =
- Int
-
-type Problem2AnswerType =
- Int
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "LLR
-
-AAA = (BBB, BBB)
-BBB = (AAA, ZZZ)
-ZZZ = (ZZZ, ZZZ)",
- 6,
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "LR
-
-11A = (11B, XXX)
-11B = (XXX, 11Z)
-11Z = (11B, XXX)
-22A = (22B, XXX)
-22B = (22C, 22C)
-22C = (22Z, 22Z)
-22Z = (22B, 22B)
-XXX = (XXX, XXX)",
- 6,
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}
diff --git a/aoc2023-gleam/test/day9/day9_test.gleam b/aoc2023-gleam/test/day9/day9_test.gleam
deleted file mode 100644
index 84fd3ba..0000000
--- a/aoc2023-gleam/test/day9/day9_test.gleam
+++ /dev/null
@@ -1,52 +0,0 @@
-import gleam/list
-import showtime/tests/should
-import adglent.{type Example, Example}
-import day9/solve
-
-type Problem1AnswerType =
- String
-
-type Problem2AnswerType =
- String
-
-/// Add examples for part 1 here:
-/// ```gleam
-///const part1_examples: List(Example(Problem1AnswerType)) = [Example("some input", "")]
-/// ```
-const part1_examples: List(Example(Problem1AnswerType)) = [
- Example(
- "0 3 6 9 12 15
-1 3 6 10 15 21
-10 13 16 21 30 45",
- "114",
- ),
-]
-
-/// Add examples for part 2 here:
-/// ```gleam
-///const part2_examples: List(Example(Problem2AnswerType)) = [Example("some input", "")]
-/// ```
-const part2_examples: List(Example(Problem2AnswerType)) = [
- Example(
- "0 3 6 9 12 15
-1 3 6 10 15 21
-10 13 16 21 30 45",
- "2",
- ),
-]
-
-pub fn part1_test() {
- part1_examples
- |> should.not_equal([])
- use example <- list.map(part1_examples)
- solve.part1(example.input)
- |> should.equal(example.answer)
-}
-
-pub fn part2_test() {
- part2_examples
- |> should.not_equal([])
- use example <- list.map(part2_examples)
- solve.part2(example.input)
- |> should.equal(example.answer)
-}