예제 #1
0
 public void testNetworkPlayerConstructor()
 {
     Player network = new NetworkPlayer();
     Assert.IsInstanceOf(typeof(NetworkPlayer), network);
 }
예제 #2
0
 public void testNetworkTurn()
 {
     Player network = new NetworkPlayer("Test Network", new CmdLinePlayerStrategy());
     network.TakeTurn();
 }
예제 #3
0
 public void testNetworkPlayer()
 {
     Player network = new NetworkPlayer("Test Network");
     Assert.AreEqual("Test Network", network.Name);
     Assert.AreEqual("Network", network.PlayerType);
 }