Esempio n. 1
0
        public void ValidatePlateuUpperRightCoordinates_Correct()
        {
            string[] input = { "5", "5" };
            Action   act   = () => MarsRoverOperation.ValidatePlateuUpperRightCoordinates(input);

            Assert.True(true);
        }
Esempio n. 2
0
        public void ValidatePlateuUpperRightCoordinates_IncorrectInputValue()
        {
            string[] input = { "5", "X", "1" };
            Action   act   = () => MarsRoverOperation.ValidatePlateuUpperRightCoordinates(input);

            Assert.Throws <FormatException>(act);
        }