public void GetRandomChoiceReturnsChoice()
        {
            // Arrange
            //not needed

            // Act
            Choice result = RpsGameMethods.GetRandomChoice();

            //Assert
            Assert.IsType <Choice>(result);
        }
示例#2
0
        public void Test1()
        {
            // Arrange

            // Act
            Choice result = RpsGameMethods.GetRandomChoice();


            // Assert
            Assert.IsType <Choice>(result);
        }
示例#3
0
        public void GetRandomChoiceReturnsChoice()
        {
            // Arrange
            //not needed

            // Act
            Choice result = RpsGameMethods.GetRandomChoice();

            //Assert
            // Assert.Equals(Choice.Paper || Choice.Rock || Choice.Scissors, )
            Assert.IsType <Choice>(result);
        }