Ejemplo n.º 1
0
        public void Right_Way_Should_Return_True()
        {
            // Arrange
            var solution = new RobotReturnToOriginSolution();

            //act
            var result = solution.JudgeCircle("URDL");

            //Assert
            Assert.True(result);
        }
Ejemplo n.º 2
0
        public void Incorrect_Way_Should_Return_False()
        {
            // Arrange
            var solution = new RobotReturnToOriginSolution();

            //act
            var result = solution.JudgeCircle("RDL");

            //Assert
            Assert.False(result);
        }