Пример #1
0
        public void Test_AlphabeticalSortLinq_CorrectlySortsString_WhenCalled()
        {
            // Arrange
            StringSorter sorter   = new StringSorter();
            string       message  = "ecfbad";
            string       expected = "abcdef";

            // Act
            string result = sorter.AlphabeticalSortLinq(message);

            // Assert
            Assert.AreEqual(expected, result);
        }