Example #1
0
        public void MapStringToMove_Wrong_Choice()
        {
            //Act
            var result = HandSign.MapStringToMove("k");

            //Assert
            Assert.IsNull(result);
        }
Example #2
0
        public void MapStringToMove_Scissor_Choice()
        {
            //Assign
            var expectedResult = new HandSign(HandSign.Move.Scissors);
            //Act
            var result = HandSign.MapStringToMove("S");

            //Assert
            Assert.AreEqual(expectedResult.ToString(), result.ToString());
        }