Ejemplo n.º 1
0
        public void BoggleClientTest3()
        {
            string[] args = { "30", "..\\..\\..\\Resources\\dictionary.txt" };
            new BoggleServer.BoggleServer(args);
            BoggleClientModel player1 = new BoggleClientModel();

            player1.setBoard("ABCDEFGHIJKLMNOP");
            Assert.AreEqual("ABCDEFGHIJKLMNOP", player1.getBoard());
            player1.setPlayerName("BASIL");
            Assert.AreEqual("BASIL", player1.getPlayerName());
            player1.setPlayerScore("100");
            Assert.AreEqual("100", player1.getPlayerScore());
            player1.setOpponent("LANCE");
            Assert.AreEqual("LANCE", player1.getOpponent());
            player1.setOpponentScore("0");
            Assert.AreEqual("0", player1.getOpponentScore());
            player1.setTime("500");
            Assert.AreEqual("500", player1.getTime());
        }