コード例 #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);
 }