fix: day14 tests
This commit is contained in:
@@ -108,11 +108,11 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_part_one() {
|
fn test_part_one() {
|
||||||
let input = aoc::read_file("test_inputs", 14);
|
let input = aoc::read_file("test_inputs", 14);
|
||||||
assert_eq!(part_one(input.trim()), Some(1120));
|
assert_eq!(part_one(input.trim()), Some(2660));
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
fn test_part_two() {
|
fn test_part_two() {
|
||||||
let input = aoc::read_file("test_inputs", 14);
|
let input = aoc::read_file("test_inputs", 14);
|
||||||
assert_eq!(part_two(input.trim()), None);
|
assert_eq!(part_two(input.trim()), Some(1564));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user