示例#1
0
        public void JudgeConstructorTest2()
        {
            string expected = "Draw Game!"; // Test the draw game! Teste o empate de jogo!

            Judge TheJudge = new Judge();
            Assert.AreEqual(expected, TheJudge.doJudge("Rock", "Rock"));
        }
示例#2
0
        public void JudgeConstructorTest3()
        {
            string expected3 = "Scissors Wins."; // Scissors must win, test it for me, plz! Tesoura deve ganhar, teste pra aí, pfv!

            Judge TheJudge = new Judge();
            Assert.AreEqual(expected3, TheJudge.doJudge("Paper", "Scissors"));
        }
示例#3
0
        public void JudgeConstructorTest()
        {
            string expected = "Rock Wins."; // I want this test fail. Eu quero que este teste falhe.

            Judge TheJudge = new Judge();

            Judge_Accessor target = new Judge_Accessor();
            Assert.AreEqual(expected, TheJudge.doJudge("Paper","Rock"));
        }