Пример #1
0
        public void ConvertFromVirtualDirectory_WhenSuperfluousDelimiters_Removes(string input, string expected)
        {
            var result = EmbeddedResourcePathFormatter.ConvertFromVirtualDirectory(input);

            Assert.Equal(expected, result);
        }
Пример #2
0
        public void ConvertFromVirtualDirectory_WhenInvalidChars_Corrects(string input, string expected)
        {
            var result = EmbeddedResourcePathFormatter.ConvertFromVirtualDirectory(input);

            Assert.Equal(expected, result);
        }