We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bccdf32 commit aa9b4e6Copy full SHA for aa9b4e6
1 file changed
Algorithms.Tests/Graph/AStarTests.cs
@@ -200,7 +200,7 @@ public void FindPathInGrid_WithObstacle_FindsAlternatePath()
200
path.Should().NotBeNull();
201
path.Should().NotContain((1, 1)); // Should avoid obstacle
202
path!.First().Should().Be((0, 0));
203
- path.Last().Should().Be((2, 2));
+ path!.Last().Should().Be((2, 2));
204
}
205
206
[Test]
@@ -284,7 +284,7 @@ public void FindPathInGrid_ComplexMaze_FindsPath()
284
// Assert
285
286
287
- path.Last().Should().Be((4, 4));
+ path!.Last().Should().Be((4, 4));
288
289
290
0 commit comments