add missing testcase to day 9

This commit is contained in:
swaits committed 2021-12-14 00:25:55 -07:00
1 parent d8afaac4f2
commit 49734821e9
1 file changed
+2 -1
+2 -1
View File
@@ -160,7 +160,8 @@ mod tests {
#[test]
fn test_my_data() {
let heightmap = HeightMap::parse(include_str!("../data/day09.txt")).unwrap();
let mut heightmap = HeightMap::parse(include_str!("../data/day09.txt")).unwrap();
assert_eq!(sum_low_points(&heightmap), 504);
assert_eq!(sum_top3_basins(&mut heightmap), 1558722);
}
}