This commit is contained in:
2025-12-01 17:16:23 -08:00
parent a7c32b213f
commit 4f996e20bc

View File

@@ -57,7 +57,7 @@ mod tests {
const EXAMPLE4: &[u8] = b"zcfzfwzzqfrljwzlrfnpqdbhtmscgvjw";
#[test]
fn problem1_example() {
fn part1_example() {
assert_eq!(part1(EXAMPLE1), 5);
assert_eq!(part1(EXAMPLE2), 6);
assert_eq!(part1(EXAMPLE3), 10);
@@ -65,7 +65,7 @@ mod tests {
}
#[test]
fn problem2_example() {
fn part2_example() {
assert_eq!(part2(EXAMPLE1), 23);
assert_eq!(part2(EXAMPLE2), 23);
assert_eq!(part2(EXAMPLE3), 29);