예제 #1
0
        public void Empty_String_Should_Return_Empty_String()
        {
            // Arrange
            var solution = new ToLowerCaseSolution();

            //act
            var result = solution.ToLowerCase(string.Empty);

            //Assert
            Assert.Equal(string.Empty, result);
        }
예제 #2
0
        public void Only_First_Character_Is_Capital_Should_Return_All_LowerCase()
        {
            // Arrange
            var solution = new ToLowerCaseSolution();

            //act
            var result = solution.ToLowerCase("Hello");

            //Assert
            Assert.Equal("hello", result);
        }
예제 #3
0
        public void All_Characters_Is_LowerCase_Should_Return_All_LowerCase()
        {
            // Arrange
            var solution = new ToLowerCaseSolution();

            //act
            var result = solution.ToLowerCase("hello");

            //Assert
            Assert.Equal("hello", result);
        }