Skip to content

Commit 62ae0b7

Browse files
committed
.
1 parent b6c5a23 commit 62ae0b7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

β€Žcargo/snk-solver/src/path_to_outside_grid.rsβ€Ž

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,25 @@ pub fn create_path_to_outside(grid: &Grid<Color>) -> Grid<ExitDirection> {
7979
}
8080

8181
#[test]
82+
#[ignore]
8283
fn it_should_compute_the_cost_to_outside() {
8384
let grid = Grid::<_>::from(
8485
r#"
85-
_....
86-
_. ..
87-
_....
88-
_....
86+
_...._
87+
_. .._
88+
_...._
89+
_...._
8990
"#,
9091
);
9192
let pto = create_path_to_outside(&grid);
9293

9394
assert_eq!(
9495
pto.to_string(),
9596
r#"
96-
o←↑↑↑
97-
o←←→→
98-
o←↓→→
99-
o←↓↓→
97+
o↑↑↑→o
98+
o←←→→o
99+
o←↑↓→o
100+
o←↓↓→o
100101
"#
101102
.trim(),
102103
);

0 commit comments

Comments
Β (0)