fix: day14 tests
This commit is contained in:
parent
00000270c2
commit
00000280c8
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue