コード例 #1
0
        public void PlayerPlaceWhenCarryingPiece()
        {
            var placeAvailabilityChain =
                new PlaceAvailabilityChain(locationSuccess, board, playerIdSuccess);

            Assert.True(placeAvailabilityChain.ActionAvailable());
        }
コード例 #2
0
        public void PlacingPieceOnNonEmptyField()
        {
            var placeAvailabilityChain =
                new PlaceAvailabilityChain(locationFail, board, playerIdSuccess);

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