public void Setup() { _reader = new MockConsoleReader(); _writer = new MockConsoleWriter(); _player1 = new HumanPlayer(Constants.X, _reader, _writer); _player2 = new HumanPlayer(Constants.O, _reader, _writer); }
public void Setup() { _reader = new MockConsoleReader(); _writer = new MockConsoleWriter(); _board = new Board(_writer, 3); _player1 = new HumanPlayer(Constants.X, _reader, _writer); _player2 = new HumanPlayer(Constants.O, _reader, _writer); _rules = new Rules(3); _game = new Game(_writer, _board, _player1, _player2, _rules); }
public void TearDown() { _writer = null; _board = null; }
public void Setup() { _writer = new MockConsoleWriter(); _board = new Board(_writer, 3); }
public void Setup() { _writer = new MockConsoleWriter(); _reader = new MockConsoleReader(); _menu = new Menu(_writer, _reader); }
public void Setup() { _writer = new MockConsoleWriter(); _board3x3 = new Board(_writer, 3); _rules3x3 = new Rules(3); }