public GetMovesTwoSquaresForward ( ) : IEnumerable |
||
Результат | IEnumerable |
public void GetMovesTwoSquareForward_B7BlockedInB6_ReturnsNothing() { var bp = new BlackPawns(Bitboard.With.B7); var notblockers = Bitboard.With.B6.Build().Inverted; var moves = bp.GetMovesTwoSquaresForward(notblockers); moves.Should().Be.Empty(); }
public void GetMovesTwoSquareForward_B7_ReturnsNormalB7B5() { var bp = new BlackPawns(Bitboard.With.B7); var moves = bp.GetMovesTwoSquaresForward(); moves.Should().Have.SameSequenceAs(new Move("B7", "B5", MoveTypes.Normal)); }
public void GetMovesTwoSquareForward_B6_ReturnsNothing() { var bp = new BlackPawns(Bitboard.With.B6); var moves = bp.GetMovesTwoSquaresForward(); moves.Should().Be.Empty(); }