public void CurrentPlayer()
 {
     var game = new Game("Nicola", "Mario");
     game.Put(1, 1);
     Assert.Equal("Nicola", game.CurrentPlayerName);
     game.Put(0, 1);
     Assert.Equal("Mario", game.CurrentPlayerName);
 }
 public void ThreePutsNoWins()
 {
     var game = new Game("Nicola", "Mario");
     game.Put(0, 0);
     game.Put(1, 0);
     game.Put(1, 1);
     Assert.Null(game.WinnerPlayerName);
 }
 public void VerticalRow()
 {
     var game = new Game("Nicola", "Mario");
     game.Put(0, 0);
     game.Put(0, 2);
     game.Put(1, 0);
     game.Put(1, 2);
     game.Put(2, 0);
     Assert.Equal("Nicola", game.WinnerPlayerName);
 }
 public void SecondDiagonalWins()
 {
     var game = new Game("Nicola", "Mario");
     game.Put(0, 2);
     game.Put(0, 1);
     game.Put(1, 1);
     game.Put(2, 2);
     game.Put(2, 0);
     Assert.Equal("Nicola", game.WinnerPlayerName);
 }