Esempio n. 1
0
 public void GivenAPath_WhenFindingFirstDelimiter_ThenWeReturnFirstDelimiter()
 {
     foreach (var delimiter in PathDelimiters.Delimiters)
     {
         PathDelimiters.First($"aaa{delimiter}aa{delimiter}asdas").Should().Be(delimiter);
         PathDelimiters.First($"aaa{delimiter}aa.sds").Should().Be(delimiter);
     }
 }
Esempio n. 2
0
 public void GivenEmptyPath_WhenFindingFirstDelimiter_ThenWeReturnDot()
 {
     PathDelimiters.First(string.Empty).Should().Be(".");
 }
Esempio n. 3
0
 public void GivenAPathWithNoSections_WhenFindingFirstDelimiter_ThenWeReturnDot()
 {
     PathDelimiters.First("aaa").Should().Be(".");
 }