예제 #1
0
        public void ThenIsIn(int line, int column, string state)
        {
            var nextState = _getNextState();

            Assert.AreEqual(BattleshipsGameSteps.GetState(state), nextState.Grid[line - 1][column - 1]);
        }
예제 #2
0
 public void GivenInPrevState(string state, int line, int column)
 {
     _state.Grid[line - 1][column - 1] = BattleshipsGameSteps.GetState(state);
 }