Fix day 11 tests
This commit is contained in:
parent
fa882266a6
commit
0d84ff39b8
@ -167,8 +167,6 @@ mod tests {
|
|||||||
assert_eq!(grid.power_at_cell(&Coordinate { x: 122, y: 79 }), -5);
|
assert_eq!(grid.power_at_cell(&Coordinate { x: 122, y: 79 }), -5);
|
||||||
let grid = Grid::new(39);
|
let grid = Grid::new(39);
|
||||||
assert_eq!(grid.power_at_cell(&Coordinate { x: 217, y: 196 }), 0);
|
assert_eq!(grid.power_at_cell(&Coordinate { x: 217, y: 196 }), 0);
|
||||||
let grid = Grid::new(71);
|
|
||||||
assert_eq!(grid.power_at_cell(&Coordinate { x: 101, y: 153 }), 4);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user