-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDay10HoofItSpec.kt
89 lines (87 loc) · 1.48 KB
/
Day10HoofItSpec.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package adventofcode.year2024
import adventofcode.PuzzleBaseSpec
class Day10HoofItSpec : PuzzleBaseSpec(
listOf(
"""
0123
1234
8765
9876
""".trimIndent() to 1,
"""
...0...
...1...
...2...
6543456
7.....7
8.....8
9.....9
""".trimIndent() to 2,
"""
..90..9
...1.98
...2..7
6543456
765.987
876....
987....
""".trimIndent() to 4,
"""
10..9..
2...8..
3...7..
4567654
...8..3
...9..2
.....01
""".trimIndent() to 3,
"""
89010123
78121874
87430965
96549874
45678903
32019012
01329801
10456732
""".trimIndent() to 36,
),
listOf(
"""
.....0.
..4321.
..5..2.
..6543.
..7..4.
..8765.
..9....
""".trimIndent() to 3,
"""
..90..9
...1.98
...2..7
6543456
765.987
876....
987....
""".trimIndent() to 13,
"""
012345
123456
234567
345678
4.6789
56789.
""".trimIndent() to 227,
"""
89010123
78121874
87430965
96549874
45678903
32019012
01329801
10456732
""".trimIndent() to 81,
),
)