Beispiel #1
0
 public void ShouldIgnorePathPartsBeforeAbsolute()
 {
     Assert.Equal("c:\\x\\y", Ext.CombinePaths("a", "b", "c:\\x", "y"));
 }
Beispiel #2
0
 public void ShouldReturnSingleArgumentWhenProvided()
 {
     Assert.Equal("a", Ext.CombinePaths("a"));
 }
Beispiel #3
0
 public void ShouldCombineSeveralPaths()
 {
     Assert.Equal(Path.Combine(Path.Combine("a", "b"), "c"), Ext.CombinePaths("a", "b", "c"));
 }
Beispiel #4
0
 public void ShouldCombineSeveralPaths()
 {
     Assert.AreEqual("a\\b\\c", Ext.CombinePaths("a", "b", "c"));
 }