public void DictionaryCustomSorter_Empty_Success() { var sorter = new CustomAsciiArraySorter(); var result = sorter.Sort(String.Empty); result.Should().Be(String.Empty); }
public void DictionaryCustomSorter_SpecialChar_Success() { var sorter = new CustomAsciiArraySorter(); var result = sorter.Sort("~!@#$%^&*()_+{}[]:;'\",./<>?`/*-+"); result.Should().Be(String.Empty); }
public void DictionaryCustomSorter_BaseLine_Success() { var sorter = new CustomAsciiArraySorter(); var result = sorter.Sort("Contrary to popular belief, the pink unicorn flies east"); result.Should().Be("aaabcceeeeeffhiiiiklllnnnnooooppprrrrssttttuuy"); }