Example #1
0
        public void CanGetAllBishopAttacks(ulong bishops, ulong occupied, ulong expectedAttacks)
        {
            // Act
            var attacks = SlidingPieceMoves.AllBishopAttacks(bishops, occupied);

            // Assert
            Assert.Equal <Bitboard>(expectedAttacks, attacks);
        }