public void CheckFindFirstMatch() { // Arrange var sit = new GridNavigator(); // Act var result = sit.FindFirst(grid, c => c == 'X'); var(x, y) = result.NewPosition; result.IsInGrid.Should().BeTrue(); x.Should().Be(1); y.Should().Be(1); result.NewValue.Should().Be('X'); }