示例#1
0
        public void HumanWebPlayerPlayReturnsFirstCharOfStringTest()
        {
            HumanWebPlayer human = new HumanWebPlayer();

            char letter = human.Play("gamma");

            Assert.AreEqual('g', letter);
        }
示例#2
0
        public void HumanWebPlayerPlayReturnsDefaultXifStringIsEmptyTest()
        {
            HumanWebPlayer human = new HumanWebPlayer();

            char letter = human.Play("");

            Assert.AreEqual('x', letter);
        }
示例#3
0
        public void HumanWebPlayerPlayReturnsNotNullTest()
        {
            HumanWebPlayer human = new HumanWebPlayer();

            char letter = human.Play("game");

            Assert.IsNotNull(letter);
            Assert.AreEqual('g', letter);
        }