Esempio n. 1
0
        public void PlayerPlaceWhenCarryingPiece()
        {
            var placeAvailabilityChain =
                new PlaceAvailabilityChain(locationSuccess, board, playerIdSuccess);

            Assert.True(placeAvailabilityChain.ActionAvailable());
        }
Esempio n. 2
0
        public void PlacingPieceOnNonEmptyField()
        {
            var placeAvailabilityChain =
                new PlaceAvailabilityChain(locationFail, board, playerIdSuccess);

            Assert.False(placeAvailabilityChain.ActionAvailable());
        }