~swaits/aoc2021

49734821e9e83238241d729b1aba0d3fd4c86466 — Stephen Waits 1 year, 5 months ago d8afaac
add missing testcase to day 9
1 files changed, 2 insertions(+), 1 deletions(-)

M src/day09.rs
M src/day09.rs => src/day09.rs +2 -1
@@ 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);
    }
}