コード例 #1
0
        public void Test2()
        {
            WinnerChecker winerChecker = new WinnerChecker();

            var result = winerChecker.Check("Rock", "Paper");

            Assert.Equal("Paper", result);
        }
コード例 #2
0
        public void CheckTestTheory(string player1, string player2, string expectedResult)
        {
            WinnerChecker winerChecker = new WinnerChecker();

            var result = winerChecker.Check(player1, player2);

            Assert.Equal(expectedResult, result);
        }
コード例 #3
0
        public void Test1()
        {
            WinnerChecker winerChecker = new WinnerChecker();

            var result = winerChecker.Check("Rock", "Scissors");

            Assert.Equal("Rock", result);
        }