Skip to content

Commit e52054f

Browse files
committed
add tests
1 parent 63af463 commit e52054f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/18.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ mod tests {
110110
#[test]
111111
fn test_part_one() {
112112
let result = part_one(&advent_of_code::template::read_file("examples", DAY));
113-
assert_eq!(result, None);
113+
assert_eq!(result, Some(62));
114114
}
115115

116116
#[test]
117117
fn test_part_two() {
118118
let result = part_two(&advent_of_code::template::read_file("examples", DAY));
119-
assert_eq!(result, None);
119+
assert_eq!(result, Some(952408144115));
120120
}
121121
}

0 commit comments

Comments
 (0)