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

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

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